Cauliflowers naturally produce pigments that colour the cauliflower head. The pigment protects it from damage by the sun. I bet the leaves haven't been growing over the cauliflower head, exposing it the sun. Apparently the pigment produced contains anti-oxidents which are good for you. So I would eat it and enjoy!