#5B42F8 Color

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

Color preview

#5B42F8

Color formats

HEX
#5B42F8
RGB
rgb(91, 66, 248)
RGBA
rgba(91, 66, 248, 1)
HSL
hsl(248, 93%, 62%)
HSV
hsv(248, 73%, 97%)
CMYK
cmyk(63%, 73%, 0%, 3%)
CSS variable
--color-primary: #5B42F8;
Lowercase HEX
#5b42f8

Shades

Tints

Tones

Harmony

CSS snippets for #5B42F8

.color-5b42f8 {
  color: #5B42F8;
  background-color: #5B42F8;
}

Frequently asked questions

What color is #5B42F8?+

#5B42F8 is a HEX color with RGB value rgb(91, 66, 248) and HSL value hsl(248, 93%, 62%). Its closest CSS named color is MediumSlateBlue.

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

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