#840DD3 Color

Inspect #840DD3 across formats, palettes, contrast and closest named color matches.

Color preview

#840DD3

Color formats

HEX
#840DD3
RGB
rgb(132, 13, 211)
RGBA
rgba(132, 13, 211, 1)
HSL
hsl(276, 88%, 44%)
HSV
hsv(276, 94%, 83%)
CMYK
cmyk(37%, 94%, 0%, 17%)
CSS variable
--color-primary: #840DD3;
Lowercase HEX
#840dd3

Shades

Tints

Tones

Harmony

CSS snippets for #840DD3

.color-840dd3 {
  color: #840DD3;
  background-color: #840DD3;
}

Frequently asked questions

What color is #840DD3?+

#840DD3 is a HEX color with RGB value rgb(132, 13, 211) and HSL value hsl(276, 88%, 44%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #840DD3?+

The closest Tailwind color is purple-700, available as the bg-purple-700 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools