#42006A Color

Inspect #42006A across formats, palettes, contrast and closest named color matches.

Color preview

#42006A

Color formats

HEX
#42006A
RGB
rgb(66, 0, 106)
RGBA
rgba(66, 0, 106, 1)
HSL
hsl(277, 100%, 21%)
HSV
hsv(277, 100%, 42%)
CMYK
cmyk(38%, 100%, 0%, 58%)
CSS variable
--color-primary: #42006A;
Lowercase HEX
#42006a

Shades

Tints

Tones

Harmony

CSS snippets for #42006A

.color-42006a {
  color: #42006A;
  background-color: #42006A;
}

Frequently asked questions

What color is #42006A?+

#42006A is a HEX color with RGB value rgb(66, 0, 106) and HSL value hsl(277, 100%, 21%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #42006A?+

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