#420D8C Color

Inspect #420D8C across formats, palettes, contrast and closest named color matches.

Color preview

#420D8C

Color formats

HEX
#420D8C
RGB
rgb(66, 13, 140)
RGBA
rgba(66, 13, 140, 1)
HSL
hsl(265, 83%, 30%)
HSV
hsv(265, 91%, 55%)
CMYK
cmyk(53%, 91%, 0%, 45%)
CSS variable
--color-primary: #420D8C;
Lowercase HEX
#420d8c

Shades

Tints

Tones

Harmony

CSS snippets for #420D8C

.color-420d8c {
  color: #420D8C;
  background-color: #420D8C;
}

Frequently asked questions

What color is #420D8C?+

#420D8C is a HEX color with RGB value rgb(66, 13, 140) and HSL value hsl(265, 83%, 30%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #420D8C?+

The closest Tailwind color is violet-900, available as the bg-violet-900 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