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