#542B78
Purple
HEX
RGB
HSL
About #542B78 Purple
#542B78 is a purple color. In the RGB color model, it is composed of 84 red, 43 green, and 120 blue. In the HSL color space, it has a hue of 272°, saturation of 47%, and lightness of 32%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #542B78 in your CSS, SCSS, or Tailwind projects.
Color Properties
272°
Hue
47%
Saturation
32%
Lightness
Purple
Color Harmonies
Colors that work well with #542B78 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #542B78 against white and black backgrounds.
Aa#542B78 on White
Contrast Ratio10.53:1
AA ✓AA Large ✓AAA ✓
Aa#542B78 on Black
Contrast Ratio1.99:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #542B78 across different color formats.
| Format | Value |
|---|---|
| HEX | #542B78 |
| RGB | rgb(84, 43, 120) |
| HSL | hsl(272, 47%, 32%) |
| RGB Decimal | 84, 43, 120 |
| RGB Percent | 32.9%, 16.9%, 47.1% |
| CMYK (approx.) | 30%, 64%, 0%, 53% |
Related Palettes
12 palettes using #542B78 or similar colors