In the title compound, C24H18N2O5S, the S atom has a distorted tetrahedral configuration, with bond angles varying from 105.11 (7) to 119.98 (8)°. As a result of the electron-withdrawing character of the phenylsulfonyl group, the N-Csp2 bond lengths [1.414 (2) and 1.413 (2) Å] are slightly longer than the reported value of 1.355 (14) Å for N atoms with a planar configuration. The indole moiety is essentially planar, with a maximum deviation of 0.0177 (14) Å for the N atom. The phenyl ring of the sulfonyl substituent makes a dihedral angle of 85.70 (7)° with the mean plane of the indole moiety. The molecular structure features intramolecular C-HO hydrogen bonds, which generate S(6) and S(12) ring motifs. In the crystal, adjacent molecules are linked via C-HO hydrogen bonds, forming infinite C(7) chains running along the a-axis direction. The crystal packing also features C-H interactions, which form a three-dimensional structure.

This is an open-access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.