#5A1F9E Color

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

Color preview

#5A1F9E

Color formats

HEX
#5A1F9E
RGB
rgb(90, 31, 158)
RGBA
rgba(90, 31, 158, 1)
HSL
hsl(268, 67%, 37%)
HSV
hsv(268, 80%, 62%)
CMYK
cmyk(43%, 80%, 0%, 38%)
CSS variable
--color-primary: #5A1F9E;
Lowercase HEX
#5a1f9e

Shades

Tints

Tones

Harmony

CSS snippets for #5A1F9E

.color-5a1f9e {
  color: #5A1F9E;
  background-color: #5A1F9E;
}

Frequently asked questions

What color is #5A1F9E?+

#5A1F9E is a HEX color with RGB value rgb(90, 31, 158) and HSL value hsl(268, 67%, 37%). Its closest CSS named color is RebeccaPurple.

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

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