#4020AC
Purple
HEX
RGB
HSL
About #4020AC Purple
#4020AC is a purple color. In the RGB color model, it is composed of 64 red, 32 green, and 172 blue. In the HSL color space, it has a hue of 254°, saturation of 69%, and lightness of 40%.
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 #4020AC in your CSS, SCSS, or Tailwind projects.
Color Properties
254°
Hue
69%
Saturation
40%
Lightness
Purple
Color Harmonies
Colors that work well with #4020AC based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #4020AC against white and black backgrounds.
Aa#4020AC on White
Contrast Ratio10.39:1
AA ✓AA Large ✓AAA ✓
Aa#4020AC on Black
Contrast Ratio2.02:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #4020AC across different color formats.
| Format | Value |
|---|---|
| HEX | #4020AC |
| RGB | rgb(64, 32, 172) |
| HSL | hsl(254, 69%, 40%) |
| RGB Decimal | 64, 32, 172 |
| RGB Percent | 25.1%, 12.5%, 67.5% |
| CMYK (approx.) | 63%, 81%, 0%, 33% |
Related Palettes
12 palettes using #4020AC or similar colors