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