Rooted in anti-colonial struggle, Indian socialism, despite its limitations, helped progress towards an egalitarian society.