#5A0CBA Color

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

Color preview

#5A0CBA

Color formats

HEX
#5A0CBA
RGB
rgb(90, 12, 186)
RGBA
rgba(90, 12, 186, 1)
HSL
hsl(267, 88%, 39%)
HSV
hsv(267, 94%, 73%)
CMYK
cmyk(52%, 94%, 0%, 27%)
CSS variable
--color-primary: #5A0CBA;
Lowercase HEX
#5a0cba

Shades

Tints

Tones

Harmony

CSS snippets for #5A0CBA

.color-5a0cba {
  color: #5A0CBA;
  background-color: #5A0CBA;
}

Frequently asked questions

What color is #5A0CBA?+

#5A0CBA is a HEX color with RGB value rgb(90, 12, 186) and HSL value hsl(267, 88%, 39%). Its closest CSS named color is RebeccaPurple.

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

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