para-Dimethylaminobenzaldehyde is the main ingredient in Ehrlich's reagent. It acts as a strong electrophile which reacts with the electron-rich α-carbon (2-position) of indole rings to form a blue-colored adduct. It can be used to detect the presence of indole alkaloids.
para-Dimethylaminobenzaldehyde is an organic compound containing amine and aldehyde moieties which is used in Ehrlich's reagent and Kovac's reagent to test for indoles. The carbonyl group typically reacts with the electron rich 2-position of the indole but may also react at the C-3 or N-1 positions.
Dissolve 0.7 g of p-dimethylaminobenzaldehyde in a mixture of 150 ml of 10 mol/l HCl and 100 ml of water.