#5B2CBA Color

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

Color preview

#5B2CBA

Color formats

HEX
#5B2CBA
RGB
rgb(91, 44, 186)
RGBA
rgba(91, 44, 186, 1)
HSL
hsl(260, 62%, 45%)
HSV
hsv(260, 76%, 73%)
CMYK
cmyk(51%, 76%, 0%, 27%)
CSS variable
--color-primary: #5B2CBA;
Lowercase HEX
#5b2cba

Shades

Tints

Tones

Harmony

CSS snippets for #5B2CBA

.color-5b2cba {
  color: #5B2CBA;
  background-color: #5B2CBA;
}

Frequently asked questions

What color is #5B2CBA?+

#5B2CBA is a HEX color with RGB value rgb(91, 44, 186) and HSL value hsl(260, 62%, 45%). Its closest CSS named color is RebeccaPurple.

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

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