#42317C Color

Inspect #42317C across formats, palettes, contrast and closest named color matches.

Color preview

#42317C

Color formats

HEX
#42317C
RGB
rgb(66, 49, 124)
RGBA
rgba(66, 49, 124, 1)
HSL
hsl(254, 43%, 34%)
HSV
hsv(254, 60%, 49%)
CMYK
cmyk(47%, 60%, 0%, 51%)
CSS variable
--color-primary: #42317C;
Lowercase HEX
#42317c

Shades

Tints

Tones

Harmony

CSS snippets for #42317C

.color-42317c {
  color: #42317C;
  background-color: #42317C;
}

Frequently asked questions

What color is #42317C?+

#42317C is a HEX color with RGB value rgb(66, 49, 124) and HSL value hsl(254, 43%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #42317C?+

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