1. An image forming apparatus comprising: an image forming unit configured to form a positional deviation correction pattern including developer images of a plurality of colors; a detection unit configured to emit light to the positional deviation correction pattern formed by the image forming unit and to detect reflected light from the positional deviation correction pattern; and a control unit configured to perform positional deviation correction based on the detected result by the detection unit, wherein the control unit is configured to cause the image forming unit to form the positional deviation correction pattern such that one black developer image is disposed between two color developer images of a same color, and to superpose the black developer image on one of the two color developer images of the same color in a state where positional deviation occurs between developer images of a plurality of different colors.