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