A range of low band gap donor–acceptor conjugated polymers (P1–P3) with backbones composed of diketopyrrolopyrrole (DPP), propylenedioxythiophene (ProDOT) and indacenodithiophene (IDT) units were designed and synthesized using the Stille coupling reaction. The optical, electrochemical and electrochromic properties of the resultant polymers were thoroughly characterized. These polymers showed exceptional solubility in common organic solvents and displayed thermal stability at a high temperature. The optical and electrochemical measurements revealed slight variations in the maximum absorptions and oxidation peaks depending on the intrinsic D–A ratio in each polymer, and narrow band gaps lower than 1.60 eV were found for these polymers. Upon oxidation, the polymer films exhibit distinct color changes (pale violet-red to dark gray for P1, rosy brown to silver for P2, atrovirens to light grey for P3) in the VIS and NIR regions. Moreover, the electrochromic switching studies indicated that these polymers have favorable switching properties, such as rapid response speed and high optical contrast and coloration efficiency, and are outstanding candidates for electrochromic applications.