Refractive index (μ)= apparent depth real depth ⇒μα apparent depth 1
Since, violet light is refracted the maximum and red light are least, the refractive index is maximum for violet colour and minimum for red colour.
Hence, letter which appears minimum raised are red.