A study on ion pair formation protonation deprotonation equilibria of dyes and micelle formation behaviour in aqueous dye surfactant solution