#5B28DC Color

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

Color preview

#5B28DC

Color formats

HEX
#5B28DC
RGB
rgb(91, 40, 220)
RGBA
rgba(91, 40, 220, 1)
HSL
hsl(257, 72%, 51%)
HSV
hsv(257, 82%, 86%)
CMYK
cmyk(59%, 82%, 0%, 14%)
CSS variable
--color-primary: #5B28DC;
Lowercase HEX
#5b28dc

Shades

Tints

Tones

Harmony

CSS snippets for #5B28DC

.color-5b28dc {
  color: #5B28DC;
  background-color: #5B28DC;
}

Frequently asked questions

What color is #5B28DC?+

#5B28DC is a HEX color with RGB value rgb(91, 40, 220) and HSL value hsl(257, 72%, 51%). Its closest CSS named color is BlueViolet.

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

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