#5021E8 Color

Inspect #5021E8 across formats, palettes, contrast and closest named color matches.

Color preview

#5021E8

Color formats

HEX
#5021E8
RGB
rgb(80, 33, 232)
RGBA
rgba(80, 33, 232, 1)
HSL
hsl(254, 81%, 52%)
HSV
hsv(254, 86%, 91%)
CMYK
cmyk(66%, 86%, 0%, 9%)
CSS variable
--color-primary: #5021E8;
Lowercase HEX
#5021e8

Shades

Tints

Tones

Harmony

CSS snippets for #5021E8

.color-5021e8 {
  color: #5021E8;
  background-color: #5021E8;
}

Frequently asked questions

What color is #5021E8?+

#5021E8 is a HEX color with RGB value rgb(80, 33, 232) and HSL value hsl(254, 81%, 52%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #5021E8?+

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