#5B315E Color

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

Color preview

#5B315E

Color formats

HEX
#5B315E
RGB
rgb(91, 49, 94)
RGBA
rgba(91, 49, 94, 1)
HSL
hsl(296, 31%, 28%)
HSV
hsv(296, 48%, 37%)
CMYK
cmyk(3%, 48%, 0%, 63%)
CSS variable
--color-primary: #5B315E;
Lowercase HEX
#5b315e

Shades

Tints

Tones

Harmony

CSS snippets for #5B315E

.color-5b315e {
  color: #5B315E;
  background-color: #5B315E;
}

Frequently asked questions

What color is #5B315E?+

#5B315E is a HEX color with RGB value rgb(91, 49, 94) and HSL value hsl(296, 31%, 28%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #5B315E?+

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