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