When a finger is smashed, blood can pool beneath the fingernail, leading to what is called a subungual hematoma. After a day or two, the nail may start to turn purple, blue, or even black.