#5A2DFB Color

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

Color preview

#5A2DFB

Color formats

HEX
#5A2DFB
RGB
rgb(90, 45, 251)
RGBA
rgba(90, 45, 251, 1)
HSL
hsl(253, 96%, 58%)
HSV
hsv(253, 82%, 98%)
CMYK
cmyk(64%, 82%, 0%, 2%)
CSS variable
--color-primary: #5A2DFB;
Lowercase HEX
#5a2dfb

Shades

Tints

Tones

Harmony

CSS snippets for #5A2DFB

.color-5a2dfb {
  color: #5A2DFB;
  background-color: #5A2DFB;
}

Frequently asked questions

What color is #5A2DFB?+

#5A2DFB is a HEX color with RGB value rgb(90, 45, 251) and HSL value hsl(253, 96%, 58%). Its closest CSS named color is BlueViolet.

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

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