Transcriptional regulator; part of the ergochrome gene cluster responsible for the typical purple-black color of the ergot sclerotia (Probable). The ergochrome gene cluster produces several ergot pigments including the yellow ergochrome secalonic acid and its derivatives, as well as the red anthraquinones endocrocin and clavorubin (PubMed:28955461).