People who have dark brown skin have it because either they or their ancestors lived close enough to the Equator that their skin has darker shades due to increased melanin, as a method of protection against ultraviolet rays. Follow this link to learn more:
https://my.clevelandclinic.org/health/body/22615-melanin