this can happen with "purple" types as well, if not more likely than ones called "black".
anthocyanin is the compound that makes the purple/dark colour on the pods, and it can also appear on leaves and stems, even on types where the pods themselves are not "supposed" to turn purple.
and it...