I hit my leg below my knees was swollen. I put ice and wrapped it with a bandage for a week. Now I look at my foot on the side of my foot is purple?

Bandaging can do. that. I find this happens often wafter doing surgery on one part of the foot and after removing the bandage there is purple in another part of the foot. I think the bandaging possibly causes blood vessels to break or leak and the blood spilling causes the black and blue marks. No worries should disappear soon.
Not 2 worry about th. -location of the discoloration. It is from bleeding @ the injury site,& fluid runs downhill so it follows the tissue planes& ends showing itself @ the ankle. Simple physics. .