#5A31EC Color

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

Color preview

#5A31EC

Color formats

HEX
#5A31EC
RGB
rgb(90, 49, 236)
RGBA
rgba(90, 49, 236, 1)
HSL
hsl(253, 83%, 56%)
HSV
hsv(253, 79%, 93%)
CMYK
cmyk(62%, 79%, 0%, 7%)
CSS variable
--color-primary: #5A31EC;
Lowercase HEX
#5a31ec

Shades

Tints

Tones

Harmony

CSS snippets for #5A31EC

.color-5a31ec {
  color: #5A31EC;
  background-color: #5A31EC;
}

Frequently asked questions

What color is #5A31EC?+

#5A31EC is a HEX color with RGB value rgb(90, 49, 236) and HSL value hsl(253, 83%, 56%). Its closest CSS named color is BlueViolet.

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

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