#5A1FAD Color

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

Color preview

#5A1FAD

Color formats

HEX
#5A1FAD
RGB
rgb(90, 31, 173)
RGBA
rgba(90, 31, 173, 1)
HSL
hsl(265, 70%, 40%)
HSV
hsv(265, 82%, 68%)
CMYK
cmyk(48%, 82%, 0%, 32%)
CSS variable
--color-primary: #5A1FAD;
Lowercase HEX
#5a1fad

Shades

Tints

Tones

Harmony

CSS snippets for #5A1FAD

.color-5a1fad {
  color: #5A1FAD;
  background-color: #5A1FAD;
}

Frequently asked questions

What color is #5A1FAD?+

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

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

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