#42227C
Purple
HEX
RGB
HSL
About #42227C Purple
#42227C is a purple color. In the RGB color model, it is composed of 66 red, 34 green, and 124 blue. In the HSL color space, it has a hue of 261°, saturation of 57%, and lightness of 31%.
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
Use #42227C in your CSS, SCSS, or Tailwind projects.
Color Properties
261°
Hue
57%
Saturation
31%
Lightness
Purple
Color Harmonies
Colors that work well with #42227C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #42227C against white and black backgrounds.
Aa#42227C on White
Contrast Ratio11.99:1
AA ✓AA Large ✓AAA ✓
Aa#42227C on Black
Contrast Ratio1.75:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #42227C across different color formats.
| Format | Value |
|---|---|
| HEX | #42227C |
| RGB | rgb(66, 34, 124) |
| HSL | hsl(261, 57%, 31%) |
| RGB Decimal | 66, 34, 124 |
| RGB Percent | 25.9%, 13.3%, 48.6% |
| CMYK (approx.) | 47%, 73%, 0%, 51% |
Related Palettes
12 palettes using #42227C or similar colors