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