#402E47
Dark Purple
HEX
RGB
HSL
About #402E47 Dark Purple
#402E47 is a dark purple color. In the RGB color model, it is composed of 64 red, 46 green, and 71 blue. In the HSL color space, it has a hue of 283°, saturation of 21%, and lightness of 23%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #402E47 in your CSS, SCSS, or Tailwind projects.
Color Properties
283°
Hue
21%
Saturation
23%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #402E47 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #402E47 against white and black backgrounds.
Aa#402E47 on White
Contrast Ratio12.35:1
AA ✓AA Large ✓AAA ✓
Aa#402E47 on Black
Contrast Ratio1.7:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #402E47 across different color formats.
| Format | Value |
|---|---|
| HEX | #402E47 |
| RGB | rgb(64, 46, 71) |
| HSL | hsl(283, 21%, 23%) |
| RGB Decimal | 64, 46, 71 |
| RGB Percent | 25.1%, 18.0%, 27.8% |
| CMYK (approx.) | 10%, 35%, 0%, 72% |
Related Palettes
12 palettes using #402E47 or similar colors