#5A315D Color

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

Color preview

#5A315D

Color formats

HEX
#5A315D
RGB
rgb(90, 49, 93)
RGBA
rgba(90, 49, 93, 1)
HSL
hsl(296, 31%, 28%)
HSV
hsv(296, 47%, 36%)
CMYK
cmyk(3%, 47%, 0%, 64%)
CSS variable
--color-primary: #5A315D;
Lowercase HEX
#5a315d

Shades

Tints

Tones

Harmony

CSS snippets for #5A315D

.color-5a315d {
  color: #5A315D;
  background-color: #5A315D;
}

Frequently asked questions

What color is #5A315D?+

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

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

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