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