#5B226D Color

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

Color preview

#5B226D

Color formats

HEX
#5B226D
RGB
rgb(91, 34, 109)
RGBA
rgba(91, 34, 109, 1)
HSL
hsl(286, 52%, 28%)
HSV
hsv(286, 69%, 43%)
CMYK
cmyk(17%, 69%, 0%, 57%)
CSS variable
--color-primary: #5B226D;
Lowercase HEX
#5b226d

Shades

Tints

Tones

Harmony

CSS snippets for #5B226D

.color-5b226d {
  color: #5B226D;
  background-color: #5B226D;
}

Frequently asked questions

What color is #5B226D?+

#5B226D is a HEX color with RGB value rgb(91, 34, 109) and HSL value hsl(286, 52%, 28%). Its closest CSS named color is Indigo.

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

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