#3A1E4D Color

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

Color preview

#3A1E4D

Color formats

HEX
#3A1E4D
RGB
rgb(58, 30, 77)
RGBA
rgba(58, 30, 77, 1)
HSL
hsl(276, 44%, 21%)
HSV
hsv(276, 61%, 30%)
CMYK
cmyk(25%, 61%, 0%, 70%)
CSS variable
--color-primary: #3A1E4D;
Lowercase HEX
#3a1e4d

Shades

Tints

Tones

Harmony

CSS snippets for #3A1E4D

.color-3a1e4d {
  color: #3A1E4D;
  background-color: #3A1E4D;
}

Frequently asked questions

What color is #3A1E4D?+

#3A1E4D is a HEX color with RGB value rgb(58, 30, 77) and HSL value hsl(276, 44%, 21%). Its closest CSS named color is MidnightBlue.

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

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