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