#542FC6
Purple
HEX
RGB
HSL
About #542FC6 Purple
#542FC6 is a purple color. In the RGB color model, it is composed of 84 red, 47 green, and 198 blue. In the HSL color space, it has a hue of 255°, saturation of 62%, and lightness of 48%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #542FC6 in your CSS, SCSS, or Tailwind projects.
Color Properties
255°
Hue
62%
Saturation
48%
Lightness
Purple
Color Harmonies
Colors that work well with #542FC6 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #542FC6 against white and black backgrounds.
Aa#542FC6 on White
Contrast Ratio8.08:1
AA ✓AA Large ✓AAA ✓
Aa#542FC6 on Black
Contrast Ratio2.6:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #542FC6 across different color formats.
| Format | Value |
|---|---|
| HEX | #542FC6 |
| RGB | rgb(84, 47, 198) |
| HSL | hsl(255, 62%, 48%) |
| RGB Decimal | 84, 47, 198 |
| RGB Percent | 32.9%, 18.4%, 77.6% |
| CMYK (approx.) | 58%, 76%, 0%, 22% |
Related Palettes
12 palettes using #542FC6 or similar colors