The dark purple pods are not only beautiful, but they also taste delicious and are stringless and tender. Their purple color comes from a pigment called anthocyanin, which has antioxidant properties. Cooking degrades the nutrients, causing the color to return to a green.