#331D9F Color

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

Color preview

#331D9F

Color formats

HEX
#331D9F
RGB
rgb(51, 29, 159)
RGBA
rgba(51, 29, 159, 1)
HSL
hsl(250, 69%, 37%)
HSV
hsv(250, 82%, 62%)
CMYK
cmyk(68%, 82%, 0%, 38%)
CSS variable
--color-primary: #331D9F;
Lowercase HEX
#331d9f

Shades

Tints

Tones

Harmony

CSS snippets for #331D9F

.color-331d9f {
  color: #331D9F;
  background-color: #331D9F;
}

Frequently asked questions

What color is #331D9F?+

#331D9F is a HEX color with RGB value rgb(51, 29, 159) and HSL value hsl(250, 69%, 37%). Its closest CSS named color is DarkSlateBlue.

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

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