#331287 Color

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

Color preview

#331287

Color formats

HEX
#331287
RGB
rgb(51, 18, 135)
RGBA
rgba(51, 18, 135, 1)
HSL
hsl(257, 76%, 30%)
HSV
hsv(257, 87%, 53%)
CMYK
cmyk(62%, 87%, 0%, 47%)
CSS variable
--color-primary: #331287;
Lowercase HEX
#331287

Shades

Tints

Tones

Harmony

CSS snippets for #331287

.color-331287 {
  color: #331287;
  background-color: #331287;
}

Frequently asked questions

What color is #331287?+

#331287 is a HEX color with RGB value rgb(51, 18, 135) and HSL value hsl(257, 76%, 30%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #331287?+

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