#331F2F Color

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

Color preview

#331F2F

Color formats

HEX
#331F2F
RGB
rgb(51, 31, 47)
RGBA
rgba(51, 31, 47, 1)
HSL
hsl(312, 24%, 16%)
HSV
hsv(312, 39%, 20%)
CMYK
cmyk(0%, 39%, 8%, 80%)
CSS variable
--color-primary: #331F2F;
Lowercase HEX
#331f2f

Shades

Tints

Tones

Harmony

CSS snippets for #331F2F

.color-331f2f {
  color: #331F2F;
  background-color: #331F2F;
}

Frequently asked questions

What color is #331F2F?+

#331F2F is a HEX color with RGB value rgb(51, 31, 47) and HSL value hsl(312, 24%, 16%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #331F2F?+

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