The albumen of my hard boiled eggs turned purple. What would cause this and is it ok to consume?
Everything you need to know: Google for "Purple Deviled eggs".
But if you didn't pickle it, then beware.
Pink or iridescent egg white (albumen) indicates spoilage due to Pseudomonas bacteria. Some of these microorganisms—which produce a greenish, fluorescent, water-soluble pigment—are harmful to humans.
Source: United States Department of Agriculture
Is it purple throughout or is there a layer near the yolk that's really more of a gray?
If the latter, it's simply because the eggs were cooked too long or at too high a temperature. It's a reaction between sulfur and iron. Perfectly safe, but try putting the eggs in room temperature water then bringing the water to a boil. Once at the boil, turn off the heat and leave the eggs for 11-13 minutes. You can then remove the eggs and run room temperature water over them to stop the cooking.