#542C81
Purple
HEX
RGB
HSL
About #542C81 Purple
#542C81 is a purple color. In the RGB color model, it is composed of 84 red, 44 green, and 129 blue. In the HSL color space, it has a hue of 268°, saturation of 49%, and lightness of 34%.
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 #542C81 in your CSS, SCSS, or Tailwind projects.
Color Properties
268°
Hue
49%
Saturation
34%
Lightness
Purple
Color Harmonies
Colors that work well with #542C81 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #542C81 against white and black backgrounds.
Aa#542C81 on White
Contrast Ratio10.22:1
AA ✓AA Large ✓AAA ✓
Aa#542C81 on Black
Contrast Ratio2.05:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #542C81 across different color formats.
| Format | Value |
|---|---|
| HEX | #542C81 |
| RGB | rgb(84, 44, 129) |
| HSL | hsl(268, 49%, 34%) |
| RGB Decimal | 84, 44, 129 |
| RGB Percent | 32.9%, 17.3%, 50.6% |
| CMYK (approx.) | 35%, 66%, 0%, 49% |
Related Palettes
12 palettes using #542C81 or similar colors