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