#5B0297 Color

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

Color preview

#5B0297

Color formats

HEX
#5B0297
RGB
rgb(91, 2, 151)
RGBA
rgba(91, 2, 151, 1)
HSL
hsl(276, 97%, 30%)
HSV
hsv(276, 99%, 59%)
CMYK
cmyk(40%, 99%, 0%, 41%)
CSS variable
--color-primary: #5B0297;
Lowercase HEX
#5b0297

Shades

Tints

Tones

Harmony

CSS snippets for #5B0297

.color-5b0297 {
  color: #5B0297;
  background-color: #5B0297;
}

Frequently asked questions

What color is #5B0297?+

#5B0297 is a HEX color with RGB value rgb(91, 2, 151) and HSL value hsl(276, 97%, 30%). Its closest CSS named color is Indigo.

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

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