Answer:
When methyl violet is added to water the solution is violet in colour. When HCl is added, it turns dark yellow. Addition of NaOH turns the colour to violet again.
Explanation:
The sequence of colour changes outlined in the answer stems from Le Chaterliers principle.
The equilibrium set up in a solution of yellow violet is;
HMV (aq) ---------> H^+(aq) + MV^- (aq)
HMV is yellow in colour while MV^- is violet in colour. Addition of HMV to water leads to its dissolution and release of MV^- ion, hence the solution turns violet. Similarly, when HCl is added, H^+ concentration increases and HMV is formed again, hence the solution turns yellow. If NaOH is added, the solution becomes alkaline, the equilibrium shifts in favour of more MV^- and the solution turns violet again.