#311853 Color

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

Color preview

#311853

Color formats

HEX
#311853
RGB
rgb(49, 24, 83)
RGBA
rgba(49, 24, 83, 1)
HSL
hsl(265, 55%, 21%)
HSV
hsv(265, 71%, 33%)
CMYK
cmyk(41%, 71%, 0%, 67%)
CSS variable
--color-primary: #311853;
Lowercase HEX
#311853

Shades

Tints

Tones

Harmony

CSS snippets for #311853

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

Frequently asked questions

What color is #311853?+

#311853 is a HEX color with RGB value rgb(49, 24, 83) and HSL value hsl(265, 55%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #311853?+

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