I have the 31 litre Ortlieb Rack Pack (Size Medium) and according to Ortlieb's web site, this is the largest that can be clipped on top of the rear panniers.
In use it fits perfectly without overhanging the panniers. I would say the next size up would not work/be recommended.