#542D90 Color

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

Color preview

#542D90

Color formats

HEX
#542D90
RGB
rgb(84, 45, 144)
RGBA
rgba(84, 45, 144, 1)
HSL
hsl(264, 52%, 37%)
HSV
hsv(264, 69%, 56%)
CMYK
cmyk(42%, 69%, 0%, 44%)
CSS variable
--color-primary: #542D90;
Lowercase HEX
#542d90

Shades

Tints

Tones

Harmony

CSS snippets for #542D90

.color-542d90 {
  color: #542D90;
  background-color: #542D90;
}

Frequently asked questions

What color is #542D90?+

#542D90 is a HEX color with RGB value rgb(84, 45, 144) and HSL value hsl(264, 52%, 37%). Its closest CSS named color is DarkSlateBlue.

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

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