Interesting, so do all the pods on the plant go through the same phases of color-change?
The reason I suspected sunburn is because I have had the same (or very similar) purple coloration appear on some of my pods in previous years, but only on pods close to the top of the plant with poor...