#5A3F7E Color

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

Color preview

#5A3F7E

Color formats

HEX
#5A3F7E
RGB
rgb(90, 63, 126)
RGBA
rgba(90, 63, 126, 1)
HSL
hsl(266, 33%, 37%)
HSV
hsv(266, 50%, 49%)
CMYK
cmyk(29%, 50%, 0%, 51%)
CSS variable
--color-primary: #5A3F7E;
Lowercase HEX
#5a3f7e

Shades

Tints

Tones

Harmony

CSS snippets for #5A3F7E

.color-5a3f7e {
  color: #5A3F7E;
  background-color: #5A3F7E;
}

Frequently asked questions

What color is #5A3F7E?+

#5A3F7E is a HEX color with RGB value rgb(90, 63, 126) and HSL value hsl(266, 33%, 37%). Its closest CSS named color is DarkSlateBlue.

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

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