#4A0C5E Color

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

Color preview

#4A0C5E

Color formats

HEX
#4A0C5E
RGB
rgb(74, 12, 94)
RGBA
rgba(74, 12, 94, 1)
HSL
hsl(285, 77%, 21%)
HSV
hsv(285, 87%, 37%)
CMYK
cmyk(21%, 87%, 0%, 63%)
CSS variable
--color-primary: #4A0C5E;
Lowercase HEX
#4a0c5e

Shades

Tints

Tones

Harmony

CSS snippets for #4A0C5E

.color-4a0c5e {
  color: #4A0C5E;
  background-color: #4A0C5E;
}

Frequently asked questions

What color is #4A0C5E?+

#4A0C5E is a HEX color with RGB value rgb(74, 12, 94) and HSL value hsl(285, 77%, 21%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #4A0C5E?+

The closest Tailwind color is purple-950, available as the bg-purple-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