#402C63 Color

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

Color preview

#402C63

Color formats

HEX
#402C63
RGB
rgb(64, 44, 99)
RGBA
rgba(64, 44, 99, 1)
HSL
hsl(262, 38%, 28%)
HSV
hsv(262, 56%, 39%)
CMYK
cmyk(35%, 56%, 0%, 61%)
CSS variable
--color-primary: #402C63;
Lowercase HEX
#402c63

Shades

Tints

Tones

Harmony

CSS snippets for #402C63

.color-402c63 {
  color: #402C63;
  background-color: #402C63;
}

Frequently asked questions

What color is #402C63?+

#402C63 is a HEX color with RGB value rgb(64, 44, 99) and HSL value hsl(262, 38%, 28%). Its closest CSS named color is DarkSlateGray.

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

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