#331FB6 Color

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

Color preview

#331FB6

Color formats

HEX
#331FB6
RGB
rgb(51, 31, 182)
RGBA
rgba(51, 31, 182, 1)
HSL
hsl(248, 71%, 42%)
HSV
hsv(248, 83%, 71%)
CMYK
cmyk(72%, 83%, 0%, 29%)
CSS variable
--color-primary: #331FB6;
Lowercase HEX
#331fb6

Shades

Tints

Tones

Harmony

CSS snippets for #331FB6

.color-331fb6 {
  color: #331FB6;
  background-color: #331FB6;
}

Frequently asked questions

What color is #331FB6?+

#331FB6 is a HEX color with RGB value rgb(51, 31, 182) and HSL value hsl(248, 71%, 42%). Its closest CSS named color is DarkSlateBlue.

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

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