1-(2-(1,5-Dimethyl-3-oxo-2-phenyl-2,3-dihydro-1H-pyrazol-4-yl)-2-oxoethyl)pyridinium chloride (DOPC) was chemically synthesized and showed thermal stability up to 220°C. DOPC powder has polycrystalline structure and crystallizes in triclinic structure with space group, P 1. Miller indices for each diffraction plan in X-ray diffraction spectra are determined. DOPC films have been prepared via spin-coating technique onto quartz and silicon single crystal substrates. The optical properties of the films are investigated by spectrophotometric measurements of the transmittance and reflectance over the spectral range 200-2500 nm. The absorption coefficient and the refractive index of the films are calculated in which the optical band gap and single oscillator parameters are estimated. Hybrid Au/DOPC/p-Si/Al heterojunction is constructed, and the dark current-voltage characteristics are recorded. The device exhibited rectification behavior and the basic parameters such as ideality factor, barrier height, series resistance and charge carrier mobility are evaluated.