What causes the vagina to be dark colored?

Melanin . Biologically there is neuroendocrine tissue where melanin tends to be localized.