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