#5D1F8F Color

Inspect #5D1F8F across formats, palettes, contrast and closest named color matches.

Color preview

#5D1F8F

Color formats

HEX
#5D1F8F
RGB
rgb(93, 31, 143)
RGBA
rgba(93, 31, 143, 1)
HSL
hsl(273, 64%, 34%)
HSV
hsv(273, 78%, 56%)
CMYK
cmyk(35%, 78%, 0%, 44%)
CSS variable
--color-primary: #5D1F8F;
Lowercase HEX
#5d1f8f

Shades

Tints

Tones

Harmony

CSS snippets for #5D1F8F

.color-5d1f8f {
  color: #5D1F8F;
  background-color: #5D1F8F;
}

Frequently asked questions

What color is #5D1F8F?+

#5D1F8F is a HEX color with RGB value rgb(93, 31, 143) and HSL value hsl(273, 64%, 34%). Its closest CSS named color is RebeccaPurple.

What is the closest Tailwind color to #5D1F8F?+

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