The corresponding thiocompounds, such as the compounds of Formula II in which X is a sulfur atom, may be prepared by the synthetic route shown in FIG. 1, which illustrates the preparation of the thio-analogue of quinoline yellow and its conversion to the corresponding leuco dye of Formula I.