#520387 Color

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

Color preview

#520387

Color formats

HEX
#520387
RGB
rgb(82, 3, 135)
RGBA
rgba(82, 3, 135, 1)
HSL
hsl(276, 96%, 27%)
HSV
hsv(276, 98%, 53%)
CMYK
cmyk(39%, 98%, 0%, 47%)
CSS variable
--color-primary: #520387;
Lowercase HEX
#520387

Shades

Tints

Tones

Harmony

CSS snippets for #520387

.color-520387 {
  color: #520387;
  background-color: #520387;
}

Frequently asked questions

What color is #520387?+

#520387 is a HEX color with RGB value rgb(82, 3, 135) and HSL value hsl(276, 96%, 27%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #520387?+

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