#542C60 Color

Inspect #542C60 across formats, palettes, contrast and closest named color matches.

Color preview

#542C60

Color formats

HEX
#542C60
RGB
rgb(84, 44, 96)
RGBA
rgba(84, 44, 96, 1)
HSL
hsl(286, 37%, 27%)
HSV
hsv(286, 54%, 38%)
CMYK
cmyk(13%, 54%, 0%, 62%)
CSS variable
--color-primary: #542C60;
Lowercase HEX
#542c60

Shades

Tints

Tones

Harmony

CSS snippets for #542C60

.color-542c60 {
  color: #542C60;
  background-color: #542C60;
}

Frequently asked questions

What color is #542C60?+

#542C60 is a HEX color with RGB value rgb(84, 44, 96) and HSL value hsl(286, 37%, 27%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #542C60?+

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