About #4E166A
#4E166A is a dark, saturated magenta with a hue angle of 280°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 106 (42%) and green the weakest at 22 (9%). Colors like this are typically used for headers, navigation bars and strong brand areas.
- It is step 800 in the generated magenta scale on this site.
Color conversions
| HEX | #4E166A |
|---|---|
| RGB | rgb(78, 22, 106) |
| RGB percent | rgb(30.6%, 8.6%, 41.6%) |
| HSL | hsl(280, 66%, 25%) |
| HSV / HSB | hsv(280, 79%, 42%) |
| CMYK | cmyk(26%, 79%, 0%, 58%) |
| CIELAB (D65) | lab(21 40.1 -37.1) |
| Decimal | 5117546 |
| Binary | 01001110 00010110 01101010 |
HEX 4E 16 6A → 78, 22, 106 (each pair is a base-16 number: 4×16 + E = 78)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #4E166A
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #4E166A | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 12.75:1 | Pass | Pass | Pass | Pass |
| Black text | 1.65:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0323 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#00306c
Deuteranopia#073368
Tritanopia#4a2a3f
Achromatopsia#323232
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 18.4). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| indigo | #4b0082 | 5.5 |
| purple | #800080 | 9.5 |
| rebeccapurple | #663399 | 9.8 |
| midnightblue | #191970 | 10 |
CSS
.element {
color: #4e166a;
background-color: rgb(78, 22, 106);
border: 1px solid hsl(280, 66%, 25%);
box-shadow: 0 2px 8px rgb(78 22 106 / 50%);
}
:root { --brand: #4e166a; }