#42237B
Purple
HEX
RGB
HSL
About #42237B Purple
#42237B is a purple color. In the RGB color model, it is composed of 66 red, 35 green, and 123 blue. In the HSL color space, it has a hue of 261°, saturation of 56%, 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 & Gradients
Use #42237B in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
261°
Hue
56%
Saturation
31%
Lightness
Purple
Color Harmonies
Colors that work well with #42237B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #42237B against white and black backgrounds.
Aa#42237B on White
Contrast Ratio11.94:1
AA ✓AA Large ✓AAA ✓
Aa#42237B on Black
Contrast Ratio1.76:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #42237B across different color formats.
| Format | Value |
|---|---|
| HEX | #42237B |
| RGB | rgb(66, 35, 123) |
| HSL | hsl(261, 56%, 31%) |
| RGB Decimal | 66, 35, 123 |
| RGB Percent | 25.9%, 13.7%, 48.2% |
| CMYK (approx.) | 46%, 72%, 0%, 52% |
Related Palettes
12 palettes using #42237B or similar colors