A prominent bathochromic shift effect of indole-containing diarylethene derivatives.