#331F34 Color

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

Color preview

#331F34

Color formats

HEX
#331F34
RGB
rgb(51, 31, 52)
RGBA
rgba(51, 31, 52, 1)
HSL
hsl(297, 25%, 16%)
HSV
hsv(297, 40%, 20%)
CMYK
cmyk(2%, 40%, 0%, 80%)
CSS variable
--color-primary: #331F34;
Lowercase HEX
#331f34

Shades

Tints

Tones

Harmony

CSS snippets for #331F34

.color-331f34 {
  color: #331F34;
  background-color: #331F34;
}

Frequently asked questions

What color is #331F34?+

#331F34 is a HEX color with RGB value rgb(51, 31, 52) and HSL value hsl(297, 25%, 16%). Its closest CSS named color is DarkSlateGray.

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

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