#4C0D8C Color

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

Color preview

#4C0D8C

Color formats

HEX
#4C0D8C
RGB
rgb(76, 13, 140)
RGBA
rgba(76, 13, 140, 1)
HSL
hsl(270, 83%, 30%)
HSV
hsv(270, 91%, 55%)
CMYK
cmyk(46%, 91%, 0%, 45%)
CSS variable
--color-primary: #4C0D8C;
Lowercase HEX
#4c0d8c

Shades

Tints

Tones

Harmony

CSS snippets for #4C0D8C

.color-4c0d8c {
  color: #4C0D8C;
  background-color: #4C0D8C;
}

Frequently asked questions

What color is #4C0D8C?+

#4C0D8C is a HEX color with RGB value rgb(76, 13, 140) and HSL value hsl(270, 83%, 30%). Its closest CSS named color is Indigo.

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

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