While moringa has many health benefits, it does not contain the pigments needed to color hair. Some people may use moringa powder as a hair mask for its potential benefits like promoting hair growth and shine, but it won't change the color of your hair.
If you're looking to dye your hair, you should use commercially available hair dyes that are formulated to safely change hair color.