#400E71
Purple
HEX
RGB
HSL
About #400E71 Purple
#400E71 is a purple color. In the RGB color model, it is composed of 64 red, 14 green, and 113 blue. In the HSL color space, it has a hue of 270°, saturation of 78%, 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 #400E71 in your CSS, SCSS, or Tailwind projects.
Color Properties
270°
Hue
78%
Saturation
25%
Lightness
Purple
Color Harmonies
Colors that work well with #400E71 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #400E71 against white and black backgrounds.
Aa#400E71 on White
Contrast Ratio13.82:1
AA ✓AA Large ✓AAA ✓
Aa#400E71 on Black
Contrast Ratio1.52:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #400E71 across different color formats.
| Format | Value |
|---|---|
| HEX | #400E71 |
| RGB | rgb(64, 14, 113) |
| HSL | hsl(270, 78%, 25%) |
| RGB Decimal | 64, 14, 113 |
| RGB Percent | 25.1%, 5.5%, 44.3% |
| CMYK (approx.) | 43%, 88%, 0%, 56% |
Related Palettes
12 palettes using #400E71 or similar colors