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