#331D49 Color

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

Color preview

#331D49

Color formats

HEX
#331D49
RGB
rgb(51, 29, 73)
RGBA
rgba(51, 29, 73, 1)
HSL
hsl(270, 43%, 20%)
HSV
hsv(270, 60%, 29%)
CMYK
cmyk(30%, 60%, 0%, 71%)
CSS variable
--color-primary: #331D49;
Lowercase HEX
#331d49

Shades

Tints

Tones

Harmony

CSS snippets for #331D49

.color-331d49 {
  color: #331D49;
  background-color: #331D49;
}

Frequently asked questions

What color is #331D49?+

#331D49 is a HEX color with RGB value rgb(51, 29, 73) and HSL value hsl(270, 43%, 20%). Its closest CSS named color is MidnightBlue.

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

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