Purple shampoo aims to remove yellow or brassy tones from hair by depositing a small amount of violet pigment on it during a wash. Companies often market it to those with blonde or lightened hair.