#312031 Color

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

Color preview

#312031

Color formats

HEX
#312031
RGB
rgb(49, 32, 49)
RGBA
rgba(49, 32, 49, 1)
HSL
hsl(300, 21%, 16%)
HSV
hsv(300, 35%, 19%)
CMYK
cmyk(0%, 35%, 0%, 81%)
CSS variable
--color-primary: #312031;
Lowercase HEX
#312031

Shades

Tints

Tones

Harmony

CSS snippets for #312031

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

Frequently asked questions

What color is #312031?+

#312031 is a HEX color with RGB value rgb(49, 32, 49) and HSL value hsl(300, 21%, 16%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #312031?+

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