your description points to bruises/ ecchymoses after soft tissue injury
it seems to be soft tissue blunt injury
and may not be serious.
pl. see a doc if not better soon.
try elevating the affected leg on pillows most of the time. the swelling will reduce.
is there any open wound?
post a photo if possible
get well soon..