About #662266
#662266 is a dark, saturated magenta with a hue angle of 300°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 102 (40%) and green the weakest at 34 (13%). Colors like this are typically used for headers, navigation bars and strong brand areas.
- It can be written in 3-digit shorthand as
#626.
Color conversions
| HEX | #662266 |
|---|---|
| Short HEX | #626 |
| RGB | rgb(102, 34, 102) |
| RGB percent | rgb(40%, 13.3%, 40%) |
| HSL | hsl(300, 50%, 27%) |
| HSV / HSB | hsv(300, 67%, 40%) |
| CMYK | cmyk(0%, 67%, 0%, 60%) |
| CIELAB (D65) | lab(26.5 39.8 -25.3) |
| Decimal | 6693478 |
| Binary | 01100110 00100010 01100110 |
HEX 66 22 66 → 102, 34, 102 (each pair is a base-16 number: 6×16 + 6 = 102)
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 #662266
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #662266 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 10.58:1 | Pass | Pass | Pass | Pass |
| Black text | 1.99:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0493 (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#193968
Deuteranopia#324264
Tritanopia#692b41
Achromatopsia#3f3f3f
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 20.5). 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 |
|---|---|---|
| purple | #800080 | 6.6 |
| darkmagenta | #8b008b | 8.5 |
| rebeccapurple | #663399 | 10.6 |
| indigo | #4b0082 | 11.2 |
Nearby colors
#772266less red
#552266more green
#663366less green
#661166more blue
#662277less blue
#662255lighter
#773377darker
#551155
CSS
.element {
color: #662266;
background-color: rgb(102, 34, 102);
border: 1px solid hsl(300, 50%, 27%);
box-shadow: 0 2px 8px rgb(102 34 102 / 50%);
}
:root { --brand: #662266; }