#520B7F Color

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

Color preview

#520B7F

Color formats

HEX
#520B7F
RGB
rgb(82, 11, 127)
RGBA
rgba(82, 11, 127, 1)
HSL
hsl(277, 84%, 27%)
HSV
hsv(277, 91%, 50%)
CMYK
cmyk(35%, 91%, 0%, 50%)
CSS variable
--color-primary: #520B7F;
Lowercase HEX
#520b7f

Shades

Tints

Tones

Harmony

CSS snippets for #520B7F

.color-520b7f {
  color: #520B7F;
  background-color: #520B7F;
}

Frequently asked questions

What color is #520B7F?+

#520B7F is a HEX color with RGB value rgb(82, 11, 127) and HSL value hsl(277, 84%, 27%). Its closest CSS named color is Indigo.

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

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