Used as a topical antiseptic and bactericidal agent in medicine; commonly formulated as a 1%–3% aqueous or alcoholic solution (e.g., "gentian violet solution" or "purple medicine water") for treating skin and mucosal wounds, ulcers, burns, and infections caused by Gram-positive bacteria and fungi (e.g., Candida albicans, Epidermophyton); also used orally for enterobiasis (pinworm infection); applied as a 2%–10% ointment for skin infections such as impetigo and tinea pedis with secondary infection; used in the treatment of candidiasis (oral thrush and vulvovaginal candidiasis); acts as a biological stain in histology and microbiology; functions as an acid-base indicator; employed in the detection of mercury, silver, and tin; utilized industrially as a dye for wool, silk, tannin-mordanted cotton, paper, leather, straw, fats, feathers, and in the manufacture of inks, printing colors, carbon paper, and colored pencils.