#542682 Color

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

Color preview

#542682

Color formats

HEX
#542682
RGB
rgb(84, 38, 130)
RGBA
rgba(84, 38, 130, 1)
HSL
hsl(270, 55%, 33%)
HSV
hsv(270, 71%, 51%)
CMYK
cmyk(35%, 71%, 0%, 49%)
CSS variable
--color-primary: #542682;
Lowercase HEX
#542682

Shades

Tints

Tones

Harmony

CSS snippets for #542682

.color-542682 {
  color: #542682;
  background-color: #542682;
}

Frequently asked questions

What color is #542682?+

#542682 is a HEX color with RGB value rgb(84, 38, 130) and HSL value hsl(270, 55%, 33%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #542682?+

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