We know that wavelength of violet light is minimum and that of red light is maximum. ∴λR>λV
From Cauchy's dispersion relation μ∝λ1
So, μV>μR, ie, refractive index of glass for violet light is maximum.
Hence, from the formula δm=(μ−1)A
where δm is angle of deviation and A the angle of prism, violet light deviates the most and red the least.