#840DC9 Color

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

Color preview

#840DC9

Color formats

HEX
#840DC9
RGB
rgb(132, 13, 201)
RGBA
rgba(132, 13, 201, 1)
HSL
hsl(278, 88%, 42%)
HSV
hsv(278, 94%, 79%)
CMYK
cmyk(34%, 94%, 0%, 21%)
CSS variable
--color-primary: #840DC9;
Lowercase HEX
#840dc9

Shades

Tints

Tones

Harmony

CSS snippets for #840DC9

.color-840dc9 {
  color: #840DC9;
  background-color: #840DC9;
}

Frequently asked questions

What color is #840DC9?+

#840DC9 is a HEX color with RGB value rgb(132, 13, 201) and HSL value hsl(278, 88%, 42%). Its closest CSS named color is DarkViolet.

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

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