#510D8C Color

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

Color preview

#510D8C

Color formats

HEX
#510D8C
RGB
rgb(81, 13, 140)
RGBA
rgba(81, 13, 140, 1)
HSL
hsl(272, 83%, 30%)
HSV
hsv(272, 91%, 55%)
CMYK
cmyk(42%, 91%, 0%, 45%)
CSS variable
--color-primary: #510D8C;
Lowercase HEX
#510d8c

Shades

Tints

Tones

Harmony

CSS snippets for #510D8C

.color-510d8c {
  color: #510D8C;
  background-color: #510D8C;
}

Frequently asked questions

What color is #510D8C?+

#510D8C is a HEX color with RGB value rgb(81, 13, 140) and HSL value hsl(272, 83%, 30%). Its closest CSS named color is Indigo.

What is the closest Tailwind color to #510D8C?+

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