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