#4D21A6
Purple
HEX
RGB
HSL
About #4D21A6 Purple
#4D21A6 is a purple color. In the RGB color model, it is composed of 77 red, 33 green, and 166 blue. In the HSL color space, it has a hue of 260°, saturation of 67%, and lightness of 39%.
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 #4D21A6 in your CSS, SCSS, or Tailwind projects.
Color Properties
260°
Hue
67%
Saturation
39%
Lightness
Purple
Color Harmonies
Colors that work well with #4D21A6 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #4D21A6 against white and black backgrounds.
Aa#4D21A6 on White
Contrast Ratio10.08:1
AA ✓AA Large ✓AAA ✓
Aa#4D21A6 on Black
Contrast Ratio2.08:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #4D21A6 across different color formats.
| Format | Value |
|---|---|
| HEX | #4D21A6 |
| RGB | rgb(77, 33, 166) |
| HSL | hsl(260, 67%, 39%) |
| RGB Decimal | 77, 33, 166 |
| RGB Percent | 30.2%, 12.9%, 65.1% |
| CMYK (approx.) | 54%, 80%, 0%, 35% |
Related Palettes
12 palettes using #4D21A6 or similar colors