#5A51D2 Color

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

Color preview

#5A51D2

Color formats

HEX
#5A51D2
RGB
rgb(90, 81, 210)
RGBA
rgba(90, 81, 210, 1)
HSL
hsl(244, 59%, 57%)
HSV
hsv(244, 61%, 82%)
CMYK
cmyk(57%, 61%, 0%, 18%)
CSS variable
--color-primary: #5A51D2;
Lowercase HEX
#5a51d2

Shades

Tints

Tones

Harmony

CSS snippets for #5A51D2

.color-5a51d2 {
  color: #5A51D2;
  background-color: #5A51D2;
}

Frequently asked questions

What color is #5A51D2?+

#5A51D2 is a HEX color with RGB value rgb(90, 81, 210) and HSL value hsl(244, 59%, 57%). Its closest CSS named color is SlateBlue.

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

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