It contains bile salts (to inhibit most Gram-positive bacteria), crystal violet dye (which also inhibits certain Gram-positive bacteria), neutral red dye (which stains microbes fermenting lactose), lactose and peptone.