About #663399
#663399 is a medium-dark, muted purple with a hue angle of 270°. 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 51 (20%). Colors like this are typically used for headers, navigation bars and strong brand areas.
- It is the CSS named color rebeccapurple, so you can write
color: rebeccapurpleinstead of the hex code. - It is one of the 216 web-safe colors: every channel is a multiple of 51 (hex 00, 33, 66, 99, CC, FF).
- It can be written in 3-digit shorthand as
#639.
Color conversions
| HEX | #663399 |
|---|---|
| Short HEX | #639 |
| RGB | rgb(102, 51, 153) |
| RGB percent | rgb(40%, 20%, 60%) |
| HSL | hsl(270, 50%, 40%) |
| HSV / HSB | hsv(270, 67%, 60%) |
| CMYK | cmyk(33%, 67%, 0%, 40%) |
| CIELAB (D65) | lab(32.9 42.9 -47.1) |
| Decimal | 6697881 |
| Binary | 01100110 00110011 10011001 |
HEX 66 33 99 → 102, 51, 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 #663399
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #663399 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 8.41:1 | Pass | Pass | Pass | Pass |
| Black text | 2.50:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0749 (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#004c9c
Deuteranopia#0f4d97
Tritanopia#5c4961
Achromatopsia#4d4d4d
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 18.7). 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 | 0 |
| darkslateblue | #483d8b | 7.3 |
| darkmagenta | #8b008b | 9.5 |
| purple | #800080 | 9.6 |
Nearby colors
#773399less red
#553399more green
#664499less green
#662299more blue
#6633aaless blue
#663388lighter
#7744aadarker
#552288
CSS
.element {
color: #663399;
background-color: rgb(102, 51, 153);
border: 1px solid hsl(270, 50%, 40%);
box-shadow: 0 2px 8px rgb(102 51 153 / 50%);
}
:root { --brand: #663399; }