#540D72
Purple
HEX
RGB
HSL
About #540D72 Purple
#540D72 is a purple color. In the RGB color model, it is composed of 84 red, 13 green, and 114 blue. In the HSL color space, it has a hue of 282°, saturation of 80%, and lightness of 25%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #540D72 in your CSS, SCSS, or Tailwind projects.
Color Properties
282°
Hue
80%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #540D72 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #540D72 against white and black backgrounds.
Aa#540D72 on White
Contrast Ratio12.52:1
AA ✓AA Large ✓AAA ✓
Aa#540D72 on Black
Contrast Ratio1.68:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #540D72 across different color formats.
| Format | Value |
|---|---|
| HEX | #540D72 |
| RGB | rgb(84, 13, 114) |
| HSL | hsl(282, 80%, 25%) |
| RGB Decimal | 84, 13, 114 |
| RGB Percent | 32.9%, 5.1%, 44.7% |
| CMYK (approx.) | 26%, 89%, 0%, 55% |
Related Palettes
12 palettes using #540D72 or similar colors