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