Gentian violet belongs to the group of medicines called antifungals. Topical gentian violet is used to treat some types of fungus infections inside the mouth (thrush) and of the skin. Gentian violet is available without a prescription. This product is available in the following dosage forms: Solution.