#5A2CDA Color

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

Color preview

#5A2CDA

Color formats

HEX
#5A2CDA
RGB
rgb(90, 44, 218)
RGBA
rgba(90, 44, 218, 1)
HSL
hsl(256, 70%, 51%)
HSV
hsv(256, 80%, 85%)
CMYK
cmyk(59%, 80%, 0%, 15%)
CSS variable
--color-primary: #5A2CDA;
Lowercase HEX
#5a2cda

Shades

Tints

Tones

Harmony

CSS snippets for #5A2CDA

.color-5a2cda {
  color: #5A2CDA;
  background-color: #5A2CDA;
}

Frequently asked questions

What color is #5A2CDA?+

#5A2CDA is a HEX color with RGB value rgb(90, 44, 218) and HSL value hsl(256, 70%, 51%). Its closest CSS named color is BlueViolet.

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

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