#331E2F Color

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

Color preview

#331E2F

Color formats

HEX
#331E2F
RGB
rgb(51, 30, 47)
RGBA
rgba(51, 30, 47, 1)
HSL
hsl(311, 26%, 16%)
HSV
hsv(311, 41%, 20%)
CMYK
cmyk(0%, 41%, 8%, 80%)
CSS variable
--color-primary: #331E2F;
Lowercase HEX
#331e2f

Shades

Tints

Tones

Harmony

CSS snippets for #331E2F

.color-331e2f {
  color: #331E2F;
  background-color: #331E2F;
}

Frequently asked questions

What color is #331E2F?+

#331E2F is a HEX color with RGB value rgb(51, 30, 47) and HSL value hsl(311, 26%, 16%). Its closest CSS named color is DarkSlateGray.

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

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