#331E48 Color

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

Color preview

#331E48

Color formats

HEX
#331E48
RGB
rgb(51, 30, 72)
RGBA
rgba(51, 30, 72, 1)
HSL
hsl(270, 41%, 20%)
HSV
hsv(270, 58%, 28%)
CMYK
cmyk(29%, 58%, 0%, 72%)
CSS variable
--color-primary: #331E48;
Lowercase HEX
#331e48

Shades

Tints

Tones

Harmony

CSS snippets for #331E48

.color-331e48 {
  color: #331E48;
  background-color: #331E48;
}

Frequently asked questions

What color is #331E48?+

#331E48 is a HEX color with RGB value rgb(51, 30, 72) and HSL value hsl(270, 41%, 20%). Its closest CSS named color is MidnightBlue.

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

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