The oxidation of aniline has been heavily investigated, and can result in reactions localized at nitrogen or more commonly results in the formation of new C-N bonds. In alkaline solution, azobenzene results, whereas arsenic acid produces the violet-coloring matter violaniline. Chromic acid converts it into quinone, whereas chlorates, in the presence of certain metallic salts (especially of vanadium), give aniline black. Hydrochloric acid and potassium chlorate give chloranil. Potassium permanganate in neutral solution oxidizes it to nitrobenzene, in alkaline solution to azobenzene, ammonia and oxalic acid, in acid solution to aniline black. Hypochlorous acid gives 4-aminophenol and para-amino diphenylamine. Oxidation with persulfate affords a variety of polyanilines compounds. These polymers exhibit rich redox and acid-base properties.