It would seem you can buy up to 10 C130s for one A400!
Cost new for a C130J in 2020 around $75m, the RAF paid about £165m per Atlas, so not quite 10:1. I’m sure you could buy cheaper on the secondhand market… the RAF has 14 C130J currently for sale, POA (but the C5 sold to the USMC a few years ago was reportedly $30m).