#331BAD Color

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

Color preview

#331BAD

Color formats

HEX
#331BAD
RGB
rgb(51, 27, 173)
RGBA
rgba(51, 27, 173, 1)
HSL
hsl(250, 73%, 39%)
HSV
hsv(250, 84%, 68%)
CMYK
cmyk(71%, 84%, 0%, 32%)
CSS variable
--color-primary: #331BAD;
Lowercase HEX
#331bad

Shades

Tints

Tones

Harmony

CSS snippets for #331BAD

.color-331bad {
  color: #331BAD;
  background-color: #331BAD;
}

Frequently asked questions

What color is #331BAD?+

#331BAD is a HEX color with RGB value rgb(51, 27, 173) and HSL value hsl(250, 73%, 39%). Its closest CSS named color is DarkSlateBlue.

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

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