Spectrophotometric studies of charge-transfer complexes formed with ions N,N'-alkyldiyl-bis(pyridinium) derivatives and iodide.