I think you're looking at that EU chart wrong; it's a bit confusing but Table 28 shows an average of 0.5% "total inmates who died", but then if you look at the next column, you see that 58% of those died _within institutions_.
That brings the 0.5% down to 0.29%
Also, that average includes non-EU countries with high rates that skew the numbers: Azerbaijan, Ukraine, N.Macedonia, etc.