#331F47 Color

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

Color preview

#331F47

Color formats

HEX
#331F47
RGB
rgb(51, 31, 71)
RGBA
rgba(51, 31, 71, 1)
HSL
hsl(270, 39%, 20%)
HSV
hsv(270, 56%, 28%)
CMYK
cmyk(28%, 56%, 0%, 72%)
CSS variable
--color-primary: #331F47;
Lowercase HEX
#331f47

Shades

Tints

Tones

Harmony

CSS snippets for #331F47

.color-331f47 {
  color: #331F47;
  background-color: #331F47;
}

Frequently asked questions

What color is #331F47?+

#331F47 is a HEX color with RGB value rgb(51, 31, 71) and HSL value hsl(270, 39%, 20%). Its closest CSS named color is DarkSlateGray.

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

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