#511D7C Color

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

Color preview

#511D7C

Color formats

HEX
#511D7C
RGB
rgb(81, 29, 124)
RGBA
rgba(81, 29, 124, 1)
HSL
hsl(273, 62%, 30%)
HSV
hsv(273, 77%, 49%)
CMYK
cmyk(35%, 77%, 0%, 51%)
CSS variable
--color-primary: #511D7C;
Lowercase HEX
#511d7c

Shades

Tints

Tones

Harmony

CSS snippets for #511D7C

.color-511d7c {
  color: #511D7C;
  background-color: #511D7C;
}

Frequently asked questions

What color is #511D7C?+

#511D7C is a HEX color with RGB value rgb(81, 29, 124) and HSL value hsl(273, 62%, 30%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #511D7C?+

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