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