The purple on the main part of the image is caused by a stuck IR filter, but the purple grainy/pixelated part on the bottom is a sign of a failing image sensor. It will progressively get worse and cover more of the image, but I’ve not had any of mine fail completely yet.
For the stuck IR filter, you can whack it as customer said, or swipe a powerful magnet across the camera lens to pull it back manually. Just tested with one of mine, and placing a magnet on the top of the camera retracts the IR filter (gets rid of the purple) and placing it on the right side of the camera with it facing you extends it (makes the image purple). The magnet will only work one way, so if placing a magnet on top of the camera doesn’t fix it, flip the magnet around. When the magnet is in the right place, you will hear an audible click, then you can remove the magnet.