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