The visiting captain, who scored 89 in the first innings, made 107 with his side following on, helping them reach 361 for six before shaking hands with opposite number Khaya Zondo on the stroke of tea.
It was only Ramela's seventh career century and first of the season, while both his scores in the match improved on his previous best score of 46 during the current campaign.
He did not do it all by himself though, with the Cobras having good contributions from Justin Ontong (74), Dane Vilas (54) and an unbeaten 53 from 22-year-old Keegan Petersen.
Andile Phehlukwayo (2-37) and Keshav Maharaj (2-130) picked up two wickets apiece - the latter collecting seven in the match from a mammoth 93.2 overs.
Ramela was named man of the match and his Cobras side walked away with 5.2 points compared to the 7.9 for the Dolphins.