#311358 Color

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

Color preview

#311358

Color formats

HEX
#311358
RGB
rgb(49, 19, 88)
RGBA
rgba(49, 19, 88, 1)
HSL
hsl(266, 64%, 21%)
HSV
hsv(266, 78%, 35%)
CMYK
cmyk(44%, 78%, 0%, 65%)
CSS variable
--color-primary: #311358;
Lowercase HEX
#311358

Shades

Tints

Tones

Harmony

CSS snippets for #311358

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

Frequently asked questions

What color is #311358?+

#311358 is a HEX color with RGB value rgb(49, 19, 88) and HSL value hsl(266, 64%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #311358?+

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