The second-harmonic generation with evanescent wave technique was used to measure the efficiency of second-harmonic generation of an organic colored powder that absorbs the second-harmonic wave, and it was compared to the electro-optic coefficient. The refractive index of the sample at the second-harmonic frequency is complex. The effective refractive index was obtained by measuring reflectivity at the interface between the sample and the prism. This technique is potentially useful for surveying electro-optic materials.