#4D008C Color

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

Color preview

#4D008C

Color formats

HEX
#4D008C
RGB
rgb(77, 0, 140)
RGBA
rgba(77, 0, 140, 1)
HSL
hsl(273, 100%, 27%)
HSV
hsv(273, 100%, 55%)
CMYK
cmyk(45%, 100%, 0%, 45%)
CSS variable
--color-primary: #4D008C;
Lowercase HEX
#4d008c

Shades

Tints

Tones

Harmony

CSS snippets for #4D008C

.color-4d008c {
  color: #4D008C;
  background-color: #4D008C;
}

Frequently asked questions

What color is #4D008C?+

#4D008C is a HEX color with RGB value rgb(77, 0, 140) and HSL value hsl(273, 100%, 27%). Its closest CSS named color is Indigo.

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

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