#5120E4 Color

Inspect #5120E4 across formats, palettes, contrast and closest named color matches.

Color preview

#5120E4

Color formats

HEX
#5120E4
RGB
rgb(81, 32, 228)
RGBA
rgba(81, 32, 228, 1)
HSL
hsl(255, 78%, 51%)
HSV
hsv(255, 86%, 89%)
CMYK
cmyk(64%, 86%, 0%, 11%)
CSS variable
--color-primary: #5120E4;
Lowercase HEX
#5120e4

Shades

Tints

Tones

Harmony

CSS snippets for #5120E4

.color-5120e4 {
  color: #5120E4;
  background-color: #5120E4;
}

Frequently asked questions

What color is #5120E4?+

#5120E4 is a HEX color with RGB value rgb(81, 32, 228) and HSL value hsl(255, 78%, 51%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #5120E4?+

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