Kalanemi is the name of a character in Hindu mythology. He was the son of the asura (demon) Hiranyaksha and brother of Andhaka. In this birth as Virochana's son, he was slain by Vishnu while his brother was killed by Indra. In one of his rebirths as per his karmic deeds, he was born as Kamsa, son of Ugrasena the king of Mathura. His sister was Devaki and her son Krishna was an avatar of Vishnu. Krishna eventually killed Kamsa in this birth.
In the epic Ramayana Kalanemi was Maricha's son and minister of Ravana and was assigned to kill Hanuman.
Kalanemi is a compound word made up of 'kala' which means "time", and 'nemi' which means "the felly of a wheel or a portion". It represents the time segment of the wheel of time that denotes "the afternoon leading to sunset". 'Kala' also means "black", perceived to be the asura Kalanemi who represents the period of darkness that "increases as day moves toward night and as the Dwapara yuga moves towards Kali yuga."
According to Hinduism's Karma principle for the cumulative actions of bad and good deeds resulting in "blessings or punishments", Kalanemi's first birth was as son of Hiranyaksha, an asura. His elder brother was Andhaka. Kalanemi had six sons who in their previous birth had been the sons of Marichi, a manasputra (mind son) of Brahma, considered a demigod being associated with Indra and believed to be one of the maruts with "powers of storm and battle". Marichi was also considered to be a prajapati ("projenitor or grandfather") or even as one of the seven saptarishis who also represented seven cosmic principles.