#5C42D1
Purple
HEX
RGB
HSL
About #5C42D1 Purple
#5C42D1 is a purple color. In the RGB color model, it is composed of 92 red, 66 green, and 209 blue. In the HSL color space, it has a hue of 251°, saturation of 61%, and lightness of 54%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #5C42D1 in your CSS, SCSS, or Tailwind projects.
Color Properties
251°
Hue
61%
Saturation
54%
Lightness
Purple
Color Harmonies
Colors that work well with #5C42D1 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5C42D1 against white and black backgrounds.
Aa#5C42D1 on White
Contrast Ratio6.66:1
AA ✓AA Large ✓AAA ✗
Aa#5C42D1 on Black
Contrast Ratio3.16:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #5C42D1 across different color formats.
| Format | Value |
|---|---|
| HEX | #5C42D1 |
| RGB | rgb(92, 66, 209) |
| HSL | hsl(251, 61%, 54%) |
| RGB Decimal | 92, 66, 209 |
| RGB Percent | 36.1%, 25.9%, 82.0% |
| CMYK (approx.) | 56%, 68%, 0%, 18% |
Related Palettes
12 palettes using #5C42D1 or similar colors