#402C60 Color

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

Color preview

#402C60

Color formats

HEX
#402C60
RGB
rgb(64, 44, 96)
RGBA
rgba(64, 44, 96, 1)
HSL
hsl(263, 37%, 27%)
HSV
hsv(263, 54%, 38%)
CMYK
cmyk(33%, 54%, 0%, 62%)
CSS variable
--color-primary: #402C60;
Lowercase HEX
#402c60

Shades

Tints

Tones

Harmony

CSS snippets for #402C60

.color-402c60 {
  color: #402C60;
  background-color: #402C60;
}

Frequently asked questions

What color is #402C60?+

#402C60 is a HEX color with RGB value rgb(64, 44, 96) and HSL value hsl(263, 37%, 27%). Its closest CSS named color is DarkSlateGray.

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

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