#31143E Color

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

Color preview

#31143E

Color formats

HEX
#31143E
RGB
rgb(49, 20, 62)
RGBA
rgba(49, 20, 62, 1)
HSL
hsl(281, 51%, 16%)
HSV
hsv(281, 68%, 24%)
CMYK
cmyk(21%, 68%, 0%, 76%)
CSS variable
--color-primary: #31143E;
Lowercase HEX
#31143e

Shades

Tints

Tones

Harmony

CSS snippets for #31143E

.color-31143e {
  color: #31143E;
  background-color: #31143E;
}

Frequently asked questions

What color is #31143E?+

#31143E is a HEX color with RGB value rgb(49, 20, 62) and HSL value hsl(281, 51%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #31143E?+

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