#40126D
Purple
HEX
RGB
HSL
About #40126D Purple
#40126D is a purple color. In the RGB color model, it is composed of 64 red, 18 green, and 109 blue. In the HSL color space, it has a hue of 270°, saturation of 72%, and lightness of 25%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #40126D in your CSS, SCSS, or Tailwind projects.
Color Properties
270°
Hue
72%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #40126D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #40126D against white and black backgrounds.
Aa#40126D on White
Contrast Ratio13.77:1
AA ✓AA Large ✓AAA ✓
Aa#40126D on Black
Contrast Ratio1.53:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #40126D across different color formats.
| Format | Value |
|---|---|
| HEX | #40126D |
| RGB | rgb(64, 18, 109) |
| HSL | hsl(270, 72%, 25%) |
| RGB Decimal | 64, 18, 109 |
| RGB Percent | 25.1%, 7.1%, 42.7% |
| CMYK (approx.) | 41%, 83%, 0%, 57% |
Related Palettes
12 palettes using #40126D or similar colors