Below you can see the front-view size comparison of the Olympus E-PL6 and Nikon D3500. The Olympus E-PL6 is clearly the smaller of the two cameras. Its body is 13mm narrower, 33 mm shorter and 32 mm thinner than the Nikon D3500.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.