#42289F Color

Inspect #42289F across formats, palettes, contrast and closest named color matches.

Color preview

#42289F

Color formats

HEX
#42289F
RGB
rgb(66, 40, 159)
RGBA
rgba(66, 40, 159, 1)
HSL
hsl(253, 60%, 39%)
HSV
hsv(253, 75%, 62%)
CMYK
cmyk(58%, 75%, 0%, 38%)
CSS variable
--color-primary: #42289F;
Lowercase HEX
#42289f

Shades

Tints

Tones

Harmony

CSS snippets for #42289F

.color-42289f {
  color: #42289F;
  background-color: #42289F;
}

Frequently asked questions

What color is #42289F?+

#42289F is a HEX color with RGB value rgb(66, 40, 159) and HSL value hsl(253, 60%, 39%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #42289F?+

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