#5B26A6
Purple
HEX
RGB
HSL
About #5B26A6 Purple
#5B26A6 is a purple color. In the RGB color model, it is composed of 91 red, 38 green, and 166 blue. In the HSL color space, it has a hue of 265°, saturation of 63%, and lightness of 40%.
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 #5B26A6 in your CSS, SCSS, or Tailwind projects.
Color Properties
265°
Hue
63%
Saturation
40%
Lightness
Purple
Color Harmonies
Colors that work well with #5B26A6 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5B26A6 against white and black backgrounds.
Aa#5B26A6 on White
Contrast Ratio9.24:1
AA ✓AA Large ✓AAA ✓
Aa#5B26A6 on Black
Contrast Ratio2.27:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5B26A6 across different color formats.
| Format | Value |
|---|---|
| HEX | #5B26A6 |
| RGB | rgb(91, 38, 166) |
| HSL | hsl(265, 63%, 40%) |
| RGB Decimal | 91, 38, 166 |
| RGB Percent | 35.7%, 14.9%, 65.1% |
| CMYK (approx.) | 45%, 77%, 0%, 35% |
Related Palettes
12 palettes using #5B26A6 or similar colors