#5122D3
Purple
HEX
RGB
HSL
About #5122D3 Purple
#5122D3 is a purple color. In the RGB color model, it is composed of 81 red, 34 green, and 211 blue. In the HSL color space, it has a hue of 256°, saturation of 72%, and lightness of 48%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #5122D3 in your CSS, SCSS, or Tailwind projects.
Color Properties
256°
Hue
72%
Saturation
48%
Lightness
Purple
Color Harmonies
Colors that work well with #5122D3 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5122D3 against white and black backgrounds.
Aa#5122D3 on White
Contrast Ratio8.34:1
AA ✓AA Large ✓AAA ✓
Aa#5122D3 on Black
Contrast Ratio2.52:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5122D3 across different color formats.
| Format | Value |
|---|---|
| HEX | #5122D3 |
| RGB | rgb(81, 34, 211) |
| HSL | hsl(256, 72%, 48%) |
| RGB Decimal | 81, 34, 211 |
| RGB Percent | 31.8%, 13.3%, 82.7% |
| CMYK (approx.) | 62%, 84%, 0%, 17% |
Related Palettes
12 palettes using #5122D3 or similar colors