#5A42B8 Color

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

Color preview

#5A42B8

Color formats

HEX
#5A42B8
RGB
rgb(90, 66, 184)
RGBA
rgba(90, 66, 184, 1)
HSL
hsl(252, 47%, 49%)
HSV
hsv(252, 64%, 72%)
CMYK
cmyk(51%, 64%, 0%, 28%)
CSS variable
--color-primary: #5A42B8;
Lowercase HEX
#5a42b8

Shades

Tints

Tones

Harmony

CSS snippets for #5A42B8

.color-5a42b8 {
  color: #5A42B8;
  background-color: #5A42B8;
}

Frequently asked questions

What color is #5A42B8?+

#5A42B8 is a HEX color with RGB value rgb(90, 66, 184) and HSL value hsl(252, 47%, 49%). Its closest CSS named color is SlateBlue.

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

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