Figure 19.2: The Gram Stain and the Bacterial Cell Wall When treated with Gram stain, the cell walls of bacteria react in one of two ways. (A) Gram-positive bacteria have a thick peptidoglycan cell wall that retains the violet dye and appears deep blue or purple. (B) Gram-negative bacteria have a thin peptidoglycan layer that does not retain the violet dye, but picks up the counterstain and appears pink to red.