#51228E
Purple
HEX
RGB
HSL
About #51228E Purple
#51228E is a purple color. In the RGB color model, it is composed of 81 red, 34 green, and 142 blue. In the HSL color space, it has a hue of 266°, saturation of 61%, and lightness of 35%.
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 #51228E in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
266°
Hue
61%
Saturation
35%
Lightness
Purple
Color Harmonies
Colors that work well with #51228E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #51228E against white and black backgrounds.
Aa#51228E on White
Contrast Ratio10.66:1
AA ✓AA Large ✓AAA ✓
Aa#51228E on Black
Contrast Ratio1.97:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #51228E across different color formats.
| Format | Value |
|---|---|
| HEX | #51228E |
| RGB | rgb(81, 34, 142) |
| HSL | hsl(266, 61%, 35%) |
| RGB Decimal | 81, 34, 142 |
| RGB Percent | 31.8%, 13.3%, 55.7% |
| CMYK (approx.) | 43%, 76%, 0%, 44% |
Related Palettes
12 palettes using #51228E or similar colors