Azo violet

Azo violet (Magneson I; p-nitrobenzeneazoresorcinol) is an azo compound with the chemical formula C12H9N3O4. It is used commercially as a violet dye and experimentally as a pH indicator, appearing yellow below pH 11, and violet above pH 13. It also turns deep blue in the presence of magnesium salt in a slightly alkaline, or basic, environment. Azo violet may also be used to test for the presence of ammonium ions. The color of ammonium chloride or ammonium hydroxide solution will vary depending upon the concentration of azo violet used. Magneson I is used to test Be also; it produces an orange-red lake with Be(II) in alkaline medium.
Wikipedia contributors, "Azo violet", Wikipedia, revision 1385290914, retrieved 20 November 2026, source, CC BY-SA 4.0.