#5A2F4D Color

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

Color preview

#5A2F4D

Color formats

HEX
#5A2F4D
RGB
rgb(90, 47, 77)
RGBA
rgba(90, 47, 77, 1)
HSL
hsl(318, 31%, 27%)
HSV
hsv(318, 48%, 35%)
CMYK
cmyk(0%, 48%, 14%, 65%)
CSS variable
--color-primary: #5A2F4D;
Lowercase HEX
#5a2f4d

Shades

Tints

Tones

Harmony

CSS snippets for #5A2F4D

.color-5a2f4d {
  color: #5A2F4D;
  background-color: #5A2F4D;
}

Frequently asked questions

What color is #5A2F4D?+

#5A2F4D is a HEX color with RGB value rgb(90, 47, 77) and HSL value hsl(318, 31%, 27%). Its closest CSS named color is DarkSlateGray.

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

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