SDXL is able to complete the cubes test adequately, although it may require a bit more time to accurately display the colors, usually finishing within approximately 5 minutes. While SD3 may have better prompt comprehension, I believe that it is not currently necessary.
Image by Itchy_Sandwich518