The molecule is an iminium ion that is malachite green cation in which the hydrogen at the para- psition of the monosubstituted phenyl group is replaced by a dimethylamino group. It has a role as an antibacterial agent and an antifungal agent.
[4-[bis[4-(dimethylamino)phenyl]methylidene]cyclohexa-2,5-dien-1-ylidene]-dimethylazanium