#511B7E
Purple
HEX
RGB
HSL
About #511B7E Purple
#511B7E is a purple color. In the RGB color model, it is composed of 81 red, 27 green, and 126 blue. In the HSL color space, it has a hue of 273°, saturation of 65%, and lightness of 30%.
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 & Gradients
Use #511B7E in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
273°
Hue
65%
Saturation
30%
Lightness
Purple
Color Harmonies
Colors that work well with #511B7E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #511B7E against white and black backgrounds.
Aa#511B7E on White
Contrast Ratio11.62:1
AA ✓AA Large ✓AAA ✓
Aa#511B7E on Black
Contrast Ratio1.81:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #511B7E across different color formats.
| Format | Value |
|---|---|
| HEX | #511B7E |
| RGB | rgb(81, 27, 126) |
| HSL | hsl(273, 65%, 30%) |
| RGB Decimal | 81, 27, 126 |
| RGB Percent | 31.8%, 10.6%, 49.4% |
| CMYK (approx.) | 36%, 79%, 0%, 51% |
Related Palettes
12 palettes using #511B7E or similar colors