#5D158A
Purple
HEX
RGB
HSL
About #5D158A Purple
#5D158A is a purple color. In the RGB color model, it is composed of 93 red, 21 green, and 138 blue. In the HSL color space, it has a hue of 277°, saturation of 74%, and lightness of 31%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #5D158A in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
277°
Hue
74%
Saturation
31%
Lightness
Purple
Color Harmonies
Colors that work well with #5D158A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5D158A against white and black backgrounds.
Aa#5D158A on White
Contrast Ratio10.83:1
AA ✓AA Large ✓AAA ✓
Aa#5D158A on Black
Contrast Ratio1.94:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5D158A across different color formats.
| Format | Value |
|---|---|
| HEX | #5D158A |
| RGB | rgb(93, 21, 138) |
| HSL | hsl(277, 74%, 31%) |
| RGB Decimal | 93, 21, 138 |
| RGB Percent | 36.5%, 8.2%, 54.1% |
| CMYK (approx.) | 33%, 85%, 0%, 46% |
Related Palettes
12 palettes using #5D158A or similar colors