#5B2281
Purple
HEX
RGB
HSL
About #5B2281 Purple
#5B2281 is a purple color. In the RGB color model, it is composed of 91 red, 34 green, and 129 blue. In the HSL color space, it has a hue of 276°, saturation of 58%, and lightness of 32%.
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
Use #5B2281 in your CSS, SCSS, or Tailwind projects.
Color Properties
276°
Hue
58%
Saturation
32%
Lightness
Purple
Color Harmonies
Colors that work well with #5B2281 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5B2281 against white and black backgrounds.
Aa#5B2281 on White
Contrast Ratio10.55:1
AA ✓AA Large ✓AAA ✓
Aa#5B2281 on Black
Contrast Ratio1.99:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5B2281 across different color formats.
| Format | Value |
|---|---|
| HEX | #5B2281 |
| RGB | rgb(91, 34, 129) |
| HSL | hsl(276, 58%, 32%) |
| RGB Decimal | 91, 34, 129 |
| RGB Percent | 35.7%, 13.3%, 50.6% |
| CMYK (approx.) | 29%, 74%, 0%, 49% |
Related Palettes
12 palettes using #5B2281 or similar colors