#400D4E
Dark Purple
HEX
RGB
HSL
About #400D4E Dark Purple
#400D4E is a dark purple color. In the RGB color model, it is composed of 64 red, 13 green, and 78 blue. In the HSL color space, it has a hue of 287°, saturation of 71%, and lightness of 18%.
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 #400D4E in your CSS, SCSS, or Tailwind projects.
Color Properties
287°
Hue
71%
Saturation
18%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #400D4E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #400D4E against white and black backgrounds.
Aa#400D4E on White
Contrast Ratio15.16:1
AA ✓AA Large ✓AAA ✓
Aa#400D4E on Black
Contrast Ratio1.39:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #400D4E across different color formats.
| Format | Value |
|---|---|
| HEX | #400D4E |
| RGB | rgb(64, 13, 78) |
| HSL | hsl(287, 71%, 18%) |
| RGB Decimal | 64, 13, 78 |
| RGB Percent | 25.1%, 5.1%, 30.6% |
| CMYK (approx.) | 18%, 83%, 0%, 69% |
Related Palettes
12 palettes using #400D4E or similar colors