The men from Millbrae looked fairly comfortable in the first half in the capital as they built a 17-3 lead, thanks to tries from stand-off Ross Curle, young winger Gavin Lowe and centre Robbie Fergusson as well as a conversion by scrum-half Sylvain Diez.
A penalty try and one from winger Josh Pecqueur gave Accies hope after the break along with the boot of stand-off Ruairidh Bonner, but Diez kicked one penalty as the men from the west won their seventh match on the spin.
Gala kept hanging on to the coat-tails of the leaders with a fine showing in a 44-20 bonus-point win at Dundee HSFP. The visitors to Mayfield scored five tries through prop Lewis McQuillin, scrum-half George Graham with two, winger Craig Robertson and No 8 Euan Dods.
The rest of their points came from the boot of Lee Millar while the home side had tries from prop Alan Brown, winger Taylor Paris and stand-off Brandyn Laursen.
Third-placed Melrose enjoyed home comfort with a win against Boroughmuir. The Borderers eventually won 28-19 at the Greenyards, with back-row Grant Runciman, second-row Ross Ovens, full-back Fraser Thomson and replacement hooker Alun Walker scoring the hosts' tries.
Currie bounced back from last week's loss to Gala to win an entertaining match at Bridgehaugh against Stirling County.
Full-back Jamie Forbes was the star of the show for the visitors, with 30 points of his own from two tries, four penalties and four conversions.
That helped set-up the 45-26 victory with their other tries coming from centres James Johnstone and Simeon James and back-row Mike Entwistle. County's two tries came from centre Brian Archibald and winger Matt Lamb, but they have not won for nearly a month now.
Heriot's eventually saw off Aberdeen Grammar at Goldenacre 31-19. The match was delayed as the Grammar team bus was caught in traffic and by half-time the home side were up 17-5. The visitors rallied before a late try by No 8 Jason Hill secured the win.