#5B42B8 Color

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

Color preview

#5B42B8

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #5B42B8

.color-5b42b8 {
  color: #5B42B8;
  background-color: #5B42B8;
}

Frequently asked questions

What color is #5B42B8?+

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

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

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