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