Gandhi the perv
OK, that's an unfair but eye-catching title. Gandhi wasn't a perv, but he did things the west would consider pervy. He liked to sleep naked with little girls (teens or pre-teens), and he liked to get his nude massages by them. These "experiments" were for him to test his own chastity. How many parents would let their daughters have a sleep-over under that pretense? He also was a bit sex-obsessed and talked about sex often.
Part of his reason for being chaste, was self regret. While in his youth (teens), he'd left his dying fathers bedside to have sex with his wife, so wasn't there when his father passed, and this guilt seems to have manifest at anger towards sexual proclivities. But not so much so, that he stopped having sex for another generation (at age 38), and he took his vow of brahmacharya (chastity and poverty). But then at his Ashram, wives and husbands weren't allowed to sleep together, but they were allowed to sleep with him. There's fuzziness on whether he failed the challenges he put to himself (like having them do stripteases for him, before sleeping with him), and he complained often of his "involuntary discharges", since he considered semen the source of his power. (I always considered it more a source of nut-ache).
I don't know of his purity, or that it even matters. A man is more than who he ejaculates inside of... or in his case, next to. But a 77 year old with a penchant for sleeping naked with 18 year olds, paints a bit of a picture. Whether that's of a pious guy testing himself, a hypocrite that had two sets of rules (one for himself, and one for everyone else in his Ashram), or a pervy guy that was addicted to titillation, is up to the reader to decide for themselves. But you don't exactly have a full picture of the man, if you don't know his penchant for these unusual behaviors.