#401787
Purple
HEX
RGB
HSL
About #401787 Purple
#401787 is a purple color. In the RGB color model, it is composed of 64 red, 23 green, and 135 blue. In the HSL color space, it has a hue of 262°, saturation of 71%, and lightness of 31%.
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 & Gradients
Use #401787 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
262°
Hue
71%
Saturation
31%
Lightness
Purple
Color Harmonies
Colors that work well with #401787 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #401787 against white and black backgrounds.
Aa#401787 on White
Contrast Ratio12.42:1
AA ✓AA Large ✓AAA ✓
Aa#401787 on Black
Contrast Ratio1.69:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #401787 across different color formats.
| Format | Value |
|---|---|
| HEX | #401787 |
| RGB | rgb(64, 23, 135) |
| HSL | hsl(262, 71%, 31%) |
| RGB Decimal | 64, 23, 135 |
| RGB Percent | 25.1%, 9.0%, 52.9% |
| CMYK (approx.) | 53%, 83%, 0%, 47% |
Related Palettes
12 palettes using #401787 or similar colors