#5120E6 Color

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

Color preview

#5120E6

Color formats

HEX
#5120E6
RGB
rgb(81, 32, 230)
RGBA
rgba(81, 32, 230, 1)
HSL
hsl(255, 80%, 51%)
HSV
hsv(255, 86%, 90%)
CMYK
cmyk(65%, 86%, 0%, 10%)
CSS variable
--color-primary: #5120E6;
Lowercase HEX
#5120e6

Shades

Tints

Tones

Harmony

CSS snippets for #5120E6

.color-5120e6 {
  color: #5120E6;
  background-color: #5120E6;
}

Frequently asked questions

What color is #5120E6?+

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

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

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