As a mordant when performing a Gram stain. It is applied for 1 minute after staining with crystal violet, but before ethanol to ensure that gram positive organisms' peptidoglycan remains stained, easily identifying it as a gram positive in microscopy.