The dyestuffs of formula (1) prepared by the process of the invention can be isolated from the reaction solution by salting out with an electrolyte, for example sodium chloride or potasssium chloride, advantageously after having adjusted the reaction mixture to a pH of from 3.5 to 7.0.