Diketopyrrolopyrrole (DPP) systems have promising applications in different organic electronic devices. In this work, we investigated the effect of 20 different substituent groups on the optoelectronic properties of DPP-based derivatives as the donor ( )-material in an organic photovoltaic (OPV) device. For this purpose, we employed Hammett's theory (HT), which quantifies the electron-donating or -withdrawing properties of a given substituent group. Machine learning (ML)-based , , , , , , , and Hammett's constants previously determined were used. Mono- (DPP-X1 ) and di-functionalized (DPP-X2 ) DPPs, where X is a substituent group, were investigated using density functional theory (DFT), time-dependent DFT (TDDFT), and ab initio methods. Several properties were computed using CAM-B3LYP and the second-order algebraic diagrammatic construction, ADC(2), an ab initio wave function method, including the adiabatic ionization potential ( ), the electron affinity ( ), the HOMO-LUMO gaps ( ), and the maximum absorption wavelengths ( ), the first excited state transition 1 S0 → 1 S1 energies ( ) (the optical gap), and exciton binding energies. From the optoelectronic properties and employing typical acceptor systems, the power conversion efficiency ( ), open-circuit voltage ( ), and fill factor ( ) were predicted for a DPP-based OPV device. These photovoltaic properties were also correlated with the machine learning (ML)-based Hammett's constants. Overall, good correlations between all properties and the different types of constants were obtained, except for the constants, which are related to inductive effects. This scenario suggests that resonance is the main factor controlling electron donation and withdrawal effects. We found that substituent groups with large values can produce higher photovoltaic efficiencies. It was also found that electron-withdrawing groups (EWGs) reduced and considerably compared to the unsubstituted DPP-H. Moreover, for every decrease (increase) in the values of a given optoelectronic property of DPP-X1 systems, a more significant decrease (increase) in the same values was observed for the DPP-X2 , thus showing that the addition of the second substituent results in a more extensive influence on all electronic properties. For the exciton binding energies, an unsupervised machine learning algorithm identified groups of substituents characterized by average values (centroids) of Hammett's constants that can drive the search for new DDP-derived materials. Our work presents a promising approach by applying HT on molecular engineering DPP-based molecules and other conjugated molecules for applications on organic optoelectronic devices.