#540A66
Dark Purple
HEX
RGB
HSL
About #540A66 Dark Purple
#540A66 is a dark purple color. In the RGB color model, it is composed of 84 red, 10 green, and 102 blue. In the HSL color space, it has a hue of 288°, saturation of 82%, and lightness of 22%.
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 #540A66 in your CSS, SCSS, or Tailwind projects.
Color Properties
288°
Hue
82%
Saturation
22%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #540A66 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #540A66 against white and black backgrounds.
Aa#540A66 on White
Contrast Ratio13.03:1
AA ✓AA Large ✓AAA ✓
Aa#540A66 on Black
Contrast Ratio1.61:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #540A66 across different color formats.
| Format | Value |
|---|---|
| HEX | #540A66 |
| RGB | rgb(84, 10, 102) |
| HSL | hsl(288, 82%, 22%) |
| RGB Decimal | 84, 10, 102 |
| RGB Percent | 32.9%, 3.9%, 40.0% |
| CMYK (approx.) | 18%, 90%, 0%, 60% |
Related Palettes
12 palettes using #540A66 or similar colors