#511D6C Color

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

Color preview

#511D6C

Color formats

HEX
#511D6C
RGB
rgb(81, 29, 108)
RGBA
rgba(81, 29, 108, 1)
HSL
hsl(279, 58%, 27%)
HSV
hsv(279, 73%, 42%)
CMYK
cmyk(25%, 73%, 0%, 58%)
CSS variable
--color-primary: #511D6C;
Lowercase HEX
#511d6c

Shades

Tints

Tones

Harmony

CSS snippets for #511D6C

.color-511d6c {
  color: #511D6C;
  background-color: #511D6C;
}

Frequently asked questions

What color is #511D6C?+

#511D6C is a HEX color with RGB value rgb(81, 29, 108) and HSL value hsl(279, 58%, 27%). Its closest CSS named color is Indigo.

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

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