About #662288
#662288 is a medium-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 136 (53%) 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
#628.
Color conversions
| HEX | #662288 |
|---|---|
| Short HEX | #628 |
| RGB | rgb(102, 34, 136) |
| RGB percent | rgb(40%, 13.3%, 53.3%) |
| HSL | hsl(280, 60%, 33%) |
| HSV / HSB | hsv(280, 75%, 53%) |
| CMYK | cmyk(25%, 75%, 0%, 47%) |
| CIELAB (D65) | lab(28.8 46.9 -43.4) |
| Decimal | 6693512 |
| Binary | 01100110 00100010 10001000 |
HEX 66 22 88 → 102, 34, 136 (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 #662288
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #662288 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 9.77:1 | Pass | Pass | Pass | Pass |
| Black text | 2.15:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0575 (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#00418b
Deuteranopia#134586
Tritanopia#623953
Achromatopsia#444444
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 20.9). 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 |
|---|---|---|
| rebeccapurple | #663399 | 4.5 |
| purple | #800080 | 6.3 |
| indigo | #4b0082 | 6.9 |
| darkmagenta | #8b008b | 7.2 |
Nearby colors
#772288less red
#552288more green
#663388less green
#661188more blue
#662299less blue
#662277lighter
#773399darker
#551177
CSS
.element {
color: #662288;
background-color: rgb(102, 34, 136);
border: 1px solid hsl(280, 60%, 33%);
box-shadow: 0 2px 8px rgb(102 34 136 / 50%);
}
:root { --brand: #662288; }