#5A2F4F Color

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

Color preview

#5A2F4F

Color formats

HEX
#5A2F4F
RGB
rgb(90, 47, 79)
RGBA
rgba(90, 47, 79, 1)
HSL
hsl(315, 31%, 27%)
HSV
hsv(315, 48%, 35%)
CMYK
cmyk(0%, 48%, 12%, 65%)
CSS variable
--color-primary: #5A2F4F;
Lowercase HEX
#5a2f4f

Shades

Tints

Tones

Harmony

CSS snippets for #5A2F4F

.color-5a2f4f {
  color: #5A2F4F;
  background-color: #5A2F4F;
}

Frequently asked questions

What color is #5A2F4F?+

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

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

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