
this is most likely Penile Melanosis. The cause of this condition is unknown, but it is just deposits of melanocytes on the penis surface and is completely harmless. It could’ve been caused by some friction burn or some kind of injury that led to hyper pigmentation. Consult your doctor to see if it is Penile melanosis or melanoma.