#5B2F7E Color

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

Color preview

#5B2F7E

Color formats

HEX
#5B2F7E
RGB
rgb(91, 47, 126)
RGBA
rgba(91, 47, 126, 1)
HSL
hsl(273, 46%, 34%)
HSV
hsv(273, 63%, 49%)
CMYK
cmyk(28%, 63%, 0%, 51%)
CSS variable
--color-primary: #5B2F7E;
Lowercase HEX
#5b2f7e

Shades

Tints

Tones

Harmony

CSS snippets for #5B2F7E

.color-5b2f7e {
  color: #5B2F7E;
  background-color: #5B2F7E;
}

Frequently asked questions

What color is #5B2F7E?+

#5B2F7E is a HEX color with RGB value rgb(91, 47, 126) and HSL value hsl(273, 46%, 34%). Its closest CSS named color is DarkSlateBlue.

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

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