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