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