The refractive index of a material is highest for shorter wavelengths (like violet light) and lowest for longer wavelengths (like red light). Consequently, violet light undergoes the maximum deviation, while red light undergoes the minimum deviation.