#331E6C Color

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

Color preview

#331E6C

Color formats

HEX
#331E6C
RGB
rgb(51, 30, 108)
RGBA
rgba(51, 30, 108, 1)
HSL
hsl(256, 57%, 27%)
HSV
hsv(256, 72%, 42%)
CMYK
cmyk(53%, 72%, 0%, 58%)
CSS variable
--color-primary: #331E6C;
Lowercase HEX
#331e6c

Shades

Tints

Tones

Harmony

CSS snippets for #331E6C

.color-331e6c {
  color: #331E6C;
  background-color: #331E6C;
}

Frequently asked questions

What color is #331E6C?+

#331E6C is a HEX color with RGB value rgb(51, 30, 108) and HSL value hsl(256, 57%, 27%). Its closest CSS named color is MidnightBlue.

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

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