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