Contritely has 2 different meanings across 1 category:
Adverb
in a rueful manner
"`I made a big mistake,' he said ruefully"
In a contrite manner.