#402547 Color

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

Color preview

#402547

Color formats

HEX
#402547
RGB
rgb(64, 37, 71)
RGBA
rgba(64, 37, 71, 1)
HSL
hsl(288, 31%, 21%)
HSV
hsv(288, 48%, 28%)
CMYK
cmyk(10%, 48%, 0%, 72%)
CSS variable
--color-primary: #402547;
Lowercase HEX
#402547

Shades

Tints

Tones

Harmony

CSS snippets for #402547

.color-402547 {
  color: #402547;
  background-color: #402547;
}

Frequently asked questions

What color is #402547?+

#402547 is a HEX color with RGB value rgb(64, 37, 71) and HSL value hsl(288, 31%, 21%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #402547?+

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