#402050
Dark Purple
HEX
RGB
HSL
About #402050 Dark Purple
#402050 is a dark purple color. In the RGB color model, it is composed of 64 red, 32 green, and 80 blue. In the HSL color space, it has a hue of 280°, saturation of 43%, and lightness of 22%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #402050 in your CSS, SCSS, or Tailwind projects.
Color Properties
280°
Hue
43%
Saturation
22%
Lightness
Dark Purple
Color Harmonies
Colors that work well with #402050 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #402050 against white and black backgrounds.
Aa#402050 on White
Contrast Ratio13.63:1
AA ✓AA Large ✓AAA ✓
Aa#402050 on Black
Contrast Ratio1.54:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #402050 across different color formats.
| Format | Value |
|---|---|
| HEX | #402050 |
| RGB | rgb(64, 32, 80) |
| HSL | hsl(280, 43%, 22%) |
| RGB Decimal | 64, 32, 80 |
| RGB Percent | 25.1%, 12.5%, 31.4% |
| CMYK (approx.) | 20%, 60%, 0%, 69% |
Related Palettes
12 palettes using #402050 or similar colors