#5124CC
Purple
HEX
RGB
HSL
About #5124CC Purple
#5124CC is a purple color. In the RGB color model, it is composed of 81 red, 36 green, and 204 blue. In the HSL color space, it has a hue of 256°, saturation of 70%, and lightness of 47%.
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 & Gradients
Use #5124CC in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
256°
Hue
70%
Saturation
47%
Lightness
Purple
Color Harmonies
Colors that work well with #5124CC based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5124CC against white and black backgrounds.
Aa#5124CC on White
Contrast Ratio8.49:1
AA ✓AA Large ✓AAA ✓
Aa#5124CC on Black
Contrast Ratio2.47:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5124CC across different color formats.
| Format | Value |
|---|---|
| HEX | #5124CC |
| RGB | rgb(81, 36, 204) |
| HSL | hsl(256, 70%, 47%) |
| RGB Decimal | 81, 36, 204 |
| RGB Percent | 31.8%, 14.1%, 80.0% |
| CMYK (approx.) | 60%, 82%, 0%, 20% |
Related Palettes
12 palettes using #5124CC or similar colors