A black-brown coloured solid (A), when fused with KOH in the presence of air, produces a dark green compound (B), which on electrolytic oxidation in alkaline medium gives a dark purple compound (C). Identify (A), (B) and (C) and write the reactions involved.