Viologen cations are excellent electro-and photochromic materials. They generally have no response or very low sensitivity to bases. In this paper, three compounds, 1, 1′-bis (2-oxo-2- phenylethyl)-4, 4′-bipyridinium (viologen) with different substituents, including H (1), Cl (2),