Photometric determination as methylene blue.
N,N-Dimethyl-1,4-phenylene diamine reacts with hydrogen sulphide to form a compound which changes to leucomethylene blue. This compound is oxidised to methylene blue using iron(III) ions.