A theory for the refractive-index enhancement due to quantum coherence and interference has been developed in dispersive polaritonic and photonic band-gap materials doped with an ensemble of noninteracting three-level atoms. Quantum coherence is introduced by driving the atoms with a coherent monochromatic laser field. The real and the imaginary parts of the susceptibility have been calculated by using the master equation and the Laplace transform methods. It is found that the energy gap in these materials plays an important role in the refractive-index enhancement. Numerical simulations for the real and the imaginary parts of susceptibility are performed for SiC as a function of the probe laser frequency. It is found that there is a giant refractive-index enhancement with vanishing absorption when the resonance frequencies lie near the lower band edge.