#42427D Color

Inspect #42427D across formats, palettes, contrast and closest named color matches.

Color preview

#42427D

Color formats

HEX
#42427D
RGB
rgb(66, 66, 125)
RGBA
rgba(66, 66, 125, 1)
HSL
hsl(240, 31%, 37%)
HSV
hsv(240, 47%, 49%)
CMYK
cmyk(47%, 47%, 0%, 51%)
CSS variable
--color-primary: #42427D;
Lowercase HEX
#42427d

Shades

Tints

Tones

Harmony

CSS snippets for #42427D

.color-42427d {
  color: #42427D;
  background-color: #42427D;
}

Frequently asked questions

What color is #42427D?+

#42427D is a HEX color with RGB value rgb(66, 66, 125) and HSL value hsl(240, 31%, 37%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #42427D?+

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