Gram staining
The dye is also used as a histological stain, particularly in Gram staining for classifying bacteria.