About #662299
#662299 is a medium-dark, saturated purple with a hue angle of 274°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 153 (60%) 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
#629.
Color conversions
| HEX | #662299 |
|---|---|
| Short HEX | #629 |
| RGB | rgb(102, 34, 153) |
| RGB percent | rgb(40%, 13.3%, 60%) |
| HSL | hsl(274, 64%, 37%) |
| HSV / HSB | hsv(274, 78%, 60%) |
| CMYK | cmyk(33%, 78%, 0%, 40%) |
| CIELAB (D65) | lab(30.1 50.8 -51.7) |
| Decimal | 6693529 |
| Binary | 01100110 00100010 10011001 |
HEX 66 22 99 → 102, 34, 153 (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 #662299
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #662299 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 9.32:1 | Pass | Pass | Pass | Pass |
| Black text | 2.25:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0627 (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#00459c
Deuteranopia#004797
Tritanopia#5d405d
Achromatopsia#474747
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 19.6). 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 | 3.3 |
| indigo | #4b0082 | 7.1 |
| purple | #800080 | 8.1 |
| darkmagenta | #8b008b | 8.4 |
Nearby colors
#772299less red
#552299more green
#663399less green
#661199more blue
#6622aaless blue
#662288lighter
#7733aadarker
#551188
CSS
.element {
color: #662299;
background-color: rgb(102, 34, 153);
border: 1px solid hsl(274, 64%, 37%);
box-shadow: 0 2px 8px rgb(102 34 153 / 50%);
}
:root { --brand: #662299; }