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