About #666699
#666699 is a medium, grayish indigo with a hue angle of 240°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 153 (60%) and red the weakest at 102 (40%). Colors like this are typically used for borders, secondary text, dividers and neutral UI.
- 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
#669.
Color conversions
| HEX | #666699 |
|---|---|
| Short HEX | #669 |
| RGB | rgb(102, 102, 153) |
| RGB percent | rgb(40%, 40%, 60%) |
| HSL | hsl(240, 20%, 50%) |
| HSV / HSB | hsv(240, 33%, 60%) |
| CMYK | cmyk(33%, 33%, 0%, 40%) |
| CIELAB (D65) | lab(45.1 12.5 -27.7) |
| Decimal | 6710937 |
| Binary | 01100110 01100110 10011001 |
HEX 66 66 99 → 102, 102, 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 #666699
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #666699 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 5.35:1 | Pass | Pass | Fail | Pass |
| Black text | 3.93:1 | Fail | Pass | Fail | Fail |
Relative luminance is 0.1463 (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#576c9b
Deuteranopia#556998
Tritanopia#596f78
Achromatopsia#6b6b6b
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 5.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 |
|---|---|---|
| slateblue | #6a5acd | 10.6 |
| royalblue | #4169e1 | 13.4 |
| darkslateblue | #483d8b | 13.8 |
| mediumpurple | #9370db | 14.1 |
Nearby colors
#776699less red
#556699more green
#667799less green
#665599more blue
#6666aaless blue
#666688lighter
#7777aadarker
#555588
CSS
.element {
color: #666699;
background-color: rgb(102, 102, 153);
border: 1px solid hsl(240, 20%, 50%);
box-shadow: 0 2px 8px rgb(102 102 153 / 50%);
}
:root { --brand: #666699; }