you have checked m or mrgb at the top, which will paint whatever matcap you have selected onto the mesh, and then you've painted the area you see there. to fix it, just select m, with rgb and mrgb turned off, select the flat colour matcap, then go to colour>fill object and it will reset the material fill