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