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