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