[CH3:1][N:2]([CH3:16])[C:3]1[CH:8]=[CH:7][C:6]([N:9]=[N:10][C:11]2[S:12][CH:13]=[CH:14][N:15]=2)=[CH:5][CH:4]=1.[CH2:17]1[CH2:23][S:20](=[O:22])(=[O:21])[O:19][CH2:18]1.O1CCCC1>CN1CCCC1=O>[CH3:1][N:2]([CH3:16])[C:3]1[CH:4]=[CH:5][C:6]([N:9]=[N:10][C:11]2[S:12][CH:13]=[CH:14][N+:15]=2[CH2:18][CH2:17][CH2:23][S:20]([O-:22])(=[O:21])=[O:19])=[CH:7][CH:8]=10.5 g (1.5 mmol) of N,N-dimethyl-4-[1,3-thiazol-2-yldiazenyl]aniline are dissolved in 1-methyl-2-pyrrolidinone (NMP), and 0.9 g (7.5 mmol) of 1,3-propane sultone is added. The reaction mixture is heated at, 100° C. for 4 hours. After cooling, 20 ml of tetrahydrofuran are added to the reaction mixture and the precipitated product is filtered off, washed with acetone and dried. The resulting dye is recrystallized from methanol/ethyl acetate. 0.53 g (45% of theory) of 3-(2-{[4-(dimethylamino)phenyl]diazenyl}-1,3-thiazol-3-ium-3-yl)-1-propanesulfonate is obtained as a dark blue powder.