#512565 Color

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

Color preview

#512565

Color formats

HEX
#512565
RGB
rgb(81, 37, 101)
RGBA
rgba(81, 37, 101, 1)
HSL
hsl(281, 46%, 27%)
HSV
hsv(281, 63%, 40%)
CMYK
cmyk(20%, 63%, 0%, 60%)
CSS variable
--color-primary: #512565;
Lowercase HEX
#512565

Shades

Tints

Tones

Harmony

CSS snippets for #512565

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

Frequently asked questions

What color is #512565?+

#512565 is a HEX color with RGB value rgb(81, 37, 101) and HSL value hsl(281, 46%, 27%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #512565?+

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