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