#5B22A5
Purple
HEX
RGB
HSL
About #5B22A5 Purple
#5B22A5 is a purple color. In the RGB color model, it is composed of 91 red, 34 green, and 165 blue. In the HSL color space, it has a hue of 266°, saturation of 66%, and lightness of 39%.
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 #5B22A5 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
266°
Hue
66%
Saturation
39%
Lightness
Purple
Color Harmonies
Colors that work well with #5B22A5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5B22A5 against white and black backgrounds.
Aa#5B22A5 on White
Contrast Ratio9.47:1
AA ✓AA Large ✓AAA ✓
Aa#5B22A5 on Black
Contrast Ratio2.22:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5B22A5 across different color formats.
| Format | Value |
|---|---|
| HEX | #5B22A5 |
| RGB | rgb(91, 34, 165) |
| HSL | hsl(266, 66%, 39%) |
| RGB Decimal | 91, 34, 165 |
| RGB Percent | 35.7%, 13.3%, 64.7% |
| CMYK (approx.) | 45%, 79%, 0%, 35% |
Related Palettes
12 palettes using #5B22A5 or similar colors