#5A597D Color

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

Color preview

#5A597D

Color formats

HEX
#5A597D
RGB
rgb(90, 89, 125)
RGBA
rgba(90, 89, 125, 1)
HSL
hsl(242, 17%, 42%)
HSV
hsv(242, 29%, 49%)
CMYK
cmyk(28%, 29%, 0%, 51%)
CSS variable
--color-primary: #5A597D;
Lowercase HEX
#5a597d

Shades

Tints

Tones

Harmony

CSS snippets for #5A597D

.color-5a597d {
  color: #5A597D;
  background-color: #5A597D;
}

Frequently asked questions

What color is #5A597D?+

#5A597D is a HEX color with RGB value rgb(90, 89, 125) and HSL value hsl(242, 17%, 42%). Its closest CSS named color is DimGray.

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

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