#51315E Color

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

Color preview

#51315E

Color formats

HEX
#51315E
RGB
rgb(81, 49, 94)
RGBA
rgba(81, 49, 94, 1)
HSL
hsl(283, 31%, 28%)
HSV
hsv(283, 48%, 37%)
CMYK
cmyk(14%, 48%, 0%, 63%)
CSS variable
--color-primary: #51315E;
Lowercase HEX
#51315e

Shades

Tints

Tones

Harmony

CSS snippets for #51315E

.color-51315e {
  color: #51315E;
  background-color: #51315E;
}

Frequently asked questions

What color is #51315E?+

#51315E is a HEX color with RGB value rgb(81, 49, 94) and HSL value hsl(283, 31%, 28%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #51315E?+

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