The character Hermione Granger, born to a pair of non-wizarding Muggles, is an exception to the “magical ability runs in the family” rule. Hermione was born with a dominant magic gene in her DNA, meaning that despite her parentage, a witch or wizard is hidden somewhere within her family tree.