Biju (35), who passed away at a hospital in Kollam last night, was in coma since April 10, the day of the accident, district hospital sources said.
He had severe injuries on the head, chest and lower limbs and was not responding to treatment, the sources said.
The condition of around 40 persons in various hospitals in Kollam is said to be stable.
Meanwhile, 27 persons have been arrested in connection with the temple tragedy. Two more persons-- Shibu and Ashok, relatives of fireworks contractor Krishnankutty, were arrested yesterday, police said.