#311042 Color

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

Color preview

#311042

Color formats

HEX
#311042
RGB
rgb(49, 16, 66)
RGBA
rgba(49, 16, 66, 1)
HSL
hsl(280, 61%, 16%)
HSV
hsv(280, 76%, 26%)
CMYK
cmyk(26%, 76%, 0%, 74%)
CSS variable
--color-primary: #311042;
Lowercase HEX
#311042

Shades

Tints

Tones

Harmony

CSS snippets for #311042

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

Frequently asked questions

What color is #311042?+

#311042 is a HEX color with RGB value rgb(49, 16, 66) and HSL value hsl(280, 61%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #311042?+

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