#402745 Color

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

Color preview

#402745

Color formats

HEX
#402745
RGB
rgb(64, 39, 69)
RGBA
rgba(64, 39, 69, 1)
HSL
hsl(290, 28%, 21%)
HSV
hsv(290, 43%, 27%)
CMYK
cmyk(7%, 43%, 0%, 73%)
CSS variable
--color-primary: #402745;
Lowercase HEX
#402745

Shades

Tints

Tones

Harmony

CSS snippets for #402745

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

Frequently asked questions

What color is #402745?+

#402745 is a HEX color with RGB value rgb(64, 39, 69) and HSL value hsl(290, 28%, 21%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #402745?+

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