Accies keeper Kevin Cuthbert had crucial early saves from Iain Russell and 17-year-old striker Kyle Lander. And Hamilton then suffered a blow on 27 minutes when Neil went of injured to be replaced by Gary Fisher.
But the tide turned when referee David Somers pointed to the spot on 41 minutes after Jon McShane was pushed in the six-yard box following Martin Canning’s cross. Stevie May sent Andy McNeil the wrong way with a perfect right-footed shot giving him his 20th goal of the season.
And just a couple of minutes later May curled a beautiful 18-yard shot into the top corner.
Livi missed a glaring chance on 69 minutes when Russell did well to cross for sub Danny Mullen who miscued wide from six yards.
Livi were thrown a lifeline when Accies defender Jonathan Page was shown a red card.
Instead, Accies finished with a bang when May turned and fired a great shot home for his hat-trick before going off to a standing ovation.