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