A consistent and accurate ab initio parametrization of density functional dispersion correction (DFT-D) for the 94 elements H-Puwere chosen as the central metal to see the effect of the elements on the nature of the group and the same period and reviewed the effect of substituent groups pull and push the electrons to the electronic properties of complex metalloporphyrin. The DFT/B3LYP/LANL2DZ and TD-DFT calculation were used to generate the optimized structure of, electronic and photophysical properties. The parameter is an Eg complex compound, DOS, and electronic absorption spectra. The calculations showed electron donating complexes tend to be better as a semiconductor because it lowers Eg complex compounds metalloporphyrin, NH2 group gave the smallest Eg compared to other groups.