#512D80 Color

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

Color preview

#512D80

Color formats

HEX
#512D80
RGB
rgb(81, 45, 128)
RGBA
rgba(81, 45, 128, 1)
HSL
hsl(266, 48%, 34%)
HSV
hsv(266, 65%, 50%)
CMYK
cmyk(37%, 65%, 0%, 50%)
CSS variable
--color-primary: #512D80;
Lowercase HEX
#512d80

Shades

Tints

Tones

Harmony

CSS snippets for #512D80

.color-512d80 {
  color: #512D80;
  background-color: #512D80;
}

Frequently asked questions

What color is #512D80?+

#512D80 is a HEX color with RGB value rgb(81, 45, 128) and HSL value hsl(266, 48%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #512D80?+

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