It typically happens due to trauma or injury to the toe, such as stubbing it or dropping something heavy on it. The blood trapped beneath the nail causes it to turn black or dark in color as it dries ...