organic compounds
In the title compound, C24H22ClN3OS, variations in C—N bond lengths and angles around the N atoms indicate delocalization of the N-atom lone pair. The benzothiophene moiety is essentially planar. The dimethylaminophenyl and o-chlorobenzene rings form dihedral angles of 41.9 (1) and 26.2 (2)°, respectively, with the benzothiophene plane. The molecular structure is stabilized by N—HCl, N—HN, C—HN, C—HS and C—HO hydrogen bonds. Molecules pack as layers parallel to (101).