#5012BA Color

Inspect #5012BA across formats, palettes, contrast and closest named color matches.

Color preview

#5012BA

Color formats

HEX
#5012BA
RGB
rgb(80, 18, 186)
RGBA
rgba(80, 18, 186, 1)
HSL
hsl(262, 82%, 40%)
HSV
hsv(262, 90%, 73%)
CMYK
cmyk(57%, 90%, 0%, 27%)
CSS variable
--color-primary: #5012BA;
Lowercase HEX
#5012ba

Shades

Tints

Tones

Harmony

CSS snippets for #5012BA

.color-5012ba {
  color: #5012BA;
  background-color: #5012BA;
}

Frequently asked questions

What color is #5012BA?+

#5012BA is a HEX color with RGB value rgb(80, 18, 186) and HSL value hsl(262, 82%, 40%). Its closest CSS named color is RebeccaPurple.

What is the closest Tailwind color to #5012BA?+

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