#512758 Color

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

Color preview

#512758

Color formats

HEX
#512758
RGB
rgb(81, 39, 88)
RGBA
rgba(81, 39, 88, 1)
HSL
hsl(291, 39%, 25%)
HSV
hsv(291, 56%, 35%)
CMYK
cmyk(8%, 56%, 0%, 65%)
CSS variable
--color-primary: #512758;
Lowercase HEX
#512758

Shades

Tints

Tones

Harmony

CSS snippets for #512758

.color-512758 {
  color: #512758;
  background-color: #512758;
}

Frequently asked questions

What color is #512758?+

#512758 is a HEX color with RGB value rgb(81, 39, 88) and HSL value hsl(291, 39%, 25%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #512758?+

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