#520E7B Color

Inspect #520E7B across formats, palettes, contrast and closest named color matches.

Color preview

#520E7B

Color formats

HEX
#520E7B
RGB
rgb(82, 14, 123)
RGBA
rgba(82, 14, 123, 1)
HSL
hsl(277, 80%, 27%)
HSV
hsv(277, 89%, 48%)
CMYK
cmyk(33%, 89%, 0%, 52%)
CSS variable
--color-primary: #520E7B;
Lowercase HEX
#520e7b

Shades

Tints

Tones

Harmony

CSS snippets for #520E7B

.color-520e7b {
  color: #520E7B;
  background-color: #520E7B;
}

Frequently asked questions

What color is #520E7B?+

#520E7B is a HEX color with RGB value rgb(82, 14, 123) and HSL value hsl(277, 80%, 27%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #520E7B?+

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