#4D1F9E Color

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

Color preview

#4D1F9E

Color formats

HEX
#4D1F9E
RGB
rgb(77, 31, 158)
RGBA
rgba(77, 31, 158, 1)
HSL
hsl(262, 67%, 37%)
HSV
hsv(262, 80%, 62%)
CMYK
cmyk(51%, 80%, 0%, 38%)
CSS variable
--color-primary: #4D1F9E;
Lowercase HEX
#4d1f9e

Shades

Tints

Tones

Harmony

CSS snippets for #4D1F9E

.color-4d1f9e {
  color: #4D1F9E;
  background-color: #4D1F9E;
}

Frequently asked questions

What color is #4D1F9E?+

#4D1F9E is a HEX color with RGB value rgb(77, 31, 158) and HSL value hsl(262, 67%, 37%). Its closest CSS named color is RebeccaPurple.

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

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