#311F34 Color

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

Color preview

#311F34

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #311F34

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

Frequently asked questions

What color is #311F34?+

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

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

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