V.W.
It means you had some sort of trauma to your toe/nail. Did you drop something on it? The purple is pooled blood under the nail. Unless it is extremely painful, then you don't need to do anything. It will go away, though you might lose the nail later (a new one will grow underneath). If it is extremely painful from the pressure, a lot of soaking in epsom salts might help.