#5A2168 Color

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

Color preview

#5A2168

Color formats

HEX
#5A2168
RGB
rgb(90, 33, 104)
RGBA
rgba(90, 33, 104, 1)
HSL
hsl(288, 52%, 27%)
HSV
hsv(288, 68%, 41%)
CMYK
cmyk(13%, 68%, 0%, 59%)
CSS variable
--color-primary: #5A2168;
Lowercase HEX
#5a2168

Shades

Tints

Tones

Harmony

CSS snippets for #5A2168

.color-5a2168 {
  color: #5A2168;
  background-color: #5A2168;
}

Frequently asked questions

What color is #5A2168?+

#5A2168 is a HEX color with RGB value rgb(90, 33, 104) and HSL value hsl(288, 52%, 27%). Its closest CSS named color is Indigo.

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

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