Thanks for writing to us.
It seems that you had a soft tissue injury
due to the injury caused by the ball which caused a hematoma
in the area. The color changes in the ankle are likely to be due to mobilization of the blood. This usually resolves in 4-6 weeks with adequate rest and hot fomentation.
I hope this information has been both informative and helpful for you.
Dr. Praveen Tayal