#3A1F4C Color

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

Color preview

#3A1F4C

Color formats

HEX
#3A1F4C
RGB
rgb(58, 31, 76)
RGBA
rgba(58, 31, 76, 1)
HSL
hsl(276, 42%, 21%)
HSV
hsv(276, 59%, 30%)
CMYK
cmyk(24%, 59%, 0%, 70%)
CSS variable
--color-primary: #3A1F4C;
Lowercase HEX
#3a1f4c

Shades

Tints

Tones

Harmony

CSS snippets for #3A1F4C

.color-3a1f4c {
  color: #3A1F4C;
  background-color: #3A1F4C;
}

Frequently asked questions

What color is #3A1F4C?+

#3A1F4C is a HEX color with RGB value rgb(58, 31, 76) and HSL value hsl(276, 42%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #3A1F4C?+

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