#402C6D Color

Inspect #402C6D across formats, palettes, contrast and closest named color matches.

Color preview

#402C6D

Color formats

HEX
#402C6D
RGB
rgb(64, 44, 109)
RGBA
rgba(64, 44, 109, 1)
HSL
hsl(258, 42%, 30%)
HSV
hsv(258, 60%, 43%)
CMYK
cmyk(41%, 60%, 0%, 57%)
CSS variable
--color-primary: #402C6D;
Lowercase HEX
#402c6d

Shades

Tints

Tones

Harmony

CSS snippets for #402C6D

.color-402c6d {
  color: #402C6D;
  background-color: #402C6D;
}

Frequently asked questions

What color is #402C6D?+

#402C6D is a HEX color with RGB value rgb(64, 44, 109) and HSL value hsl(258, 42%, 30%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #402C6D?+

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