#5A226D Color

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

Color preview

#5A226D

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #5A226D

.color-5a226d {
  color: #5A226D;
  background-color: #5A226D;
}

Frequently asked questions

What color is #5A226D?+

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

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

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