Monometallic and dimetallic complexes with the ruthenium-amine conjugated structural unit have been prepared. These complexes display consecutive redox waves with low potentials and rich and intense absorptions in the near-infrared region. The electrochemical and spectroscopic properties can be modulated using substituents or auxiliary ligands with different electronic natures. Through simple functionalization, electropolymerized or monolayer thin films of these complexes have been prepared. These films display multistate near-infrared electrochromism with good contrast ratios and long optical retention times. In addition, flip-flop and flip-flap-flop memories have been demonstrated on the basis of these thin films.