Hello,
This could be due to trauma which could have caused breakage of capillaries lying just below the surface. Do not cause any further injury till the lesion has healed, which should take about 5-7 days. The discoloration may persist for a fortnight and change colors