#512F60 Color

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

Color preview

#512F60

Color formats

HEX
#512F60
RGB
rgb(81, 47, 96)
RGBA
rgba(81, 47, 96, 1)
HSL
hsl(282, 34%, 28%)
HSV
hsv(282, 51%, 38%)
CMYK
cmyk(16%, 51%, 0%, 62%)
CSS variable
--color-primary: #512F60;
Lowercase HEX
#512f60

Shades

Tints

Tones

Harmony

CSS snippets for #512F60

.color-512f60 {
  color: #512F60;
  background-color: #512F60;
}

Frequently asked questions

What color is #512F60?+

#512F60 is a HEX color with RGB value rgb(81, 47, 96) and HSL value hsl(282, 34%, 28%). Its closest CSS named color is DarkSlateBlue.

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

The closest Tailwind color is gray-700, available as the bg-gray-700 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