#5A236C Color

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

Color preview

#5A236C

Color formats

HEX
#5A236C
RGB
rgb(90, 35, 108)
RGBA
rgba(90, 35, 108, 1)
HSL
hsl(285, 51%, 28%)
HSV
hsv(285, 68%, 42%)
CMYK
cmyk(17%, 68%, 0%, 58%)
CSS variable
--color-primary: #5A236C;
Lowercase HEX
#5a236c

Shades

Tints

Tones

Harmony

CSS snippets for #5A236C

.color-5a236c {
  color: #5A236C;
  background-color: #5A236C;
}

Frequently asked questions

What color is #5A236C?+

#5A236C is a HEX color with RGB value rgb(90, 35, 108) and HSL value hsl(285, 51%, 28%). Its closest CSS named color is Indigo.

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

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