Natural dyestuff used to test the acidity of chemical solutions; also used as a textile dye, wood stain, and food colorant.