#5D1FAD Color

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

Color preview

#5D1FAD

Color formats

HEX
#5D1FAD
RGB
rgb(93, 31, 173)
RGBA
rgba(93, 31, 173, 1)
HSL
hsl(266, 70%, 40%)
HSV
hsv(266, 82%, 68%)
CMYK
cmyk(46%, 82%, 0%, 32%)
CSS variable
--color-primary: #5D1FAD;
Lowercase HEX
#5d1fad

Shades

Tints

Tones

Harmony

CSS snippets for #5D1FAD

.color-5d1fad {
  color: #5D1FAD;
  background-color: #5D1FAD;
}

Frequently asked questions

What color is #5D1FAD?+

#5D1FAD is a HEX color with RGB value rgb(93, 31, 173) and HSL value hsl(266, 70%, 40%). Its closest CSS named color is RebeccaPurple.

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

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