text: Azo violet can be synthesised by reacting 4-nitroaniline with nitrous acid (generated in situ with an acid and a nitrite salt) to produce a diazonium intermediate. This is then reacted with resorcinol, dissolved in a sodium hydroxide solution, via an azo coupling reaction.
  This is consistent with the generalized strategy for preparing azo dyes.