#520F9F Color

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

Color preview

#520F9F

Color formats

HEX
#520F9F
RGB
rgb(82, 15, 159)
RGBA
rgba(82, 15, 159, 1)
HSL
hsl(268, 83%, 34%)
HSV
hsv(268, 91%, 62%)
CMYK
cmyk(48%, 91%, 0%, 38%)
CSS variable
--color-primary: #520F9F;
Lowercase HEX
#520f9f

Shades

Tints

Tones

Harmony

CSS snippets for #520F9F

.color-520f9f {
  color: #520F9F;
  background-color: #520F9F;
}

Frequently asked questions

What color is #520F9F?+

#520F9F is a HEX color with RGB value rgb(82, 15, 159) and HSL value hsl(268, 83%, 34%). Its closest CSS named color is Indigo.

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

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