In the present study, the optical properties of a natural dye extracted from Alcea rosea flowers were investigated. The color extraction procedure was performed using a nontoxic solvent ethanol to enhance human safety and the ecological framework. Fourier transform infrared spectroscopy was employed to determine the functional groups of the natural dye obtained from Alcea rosea flowers. The optical properties of dye were achieved by the directed thin film using UV-Vis spectroscopy and analyzed absorption spectra, coefficients, refractive indices, extinction coefficients, and optical energy bandgap. A broad absorption band occurs over an extensive waveband with peak at 380 nm. The occurrence of a low indirect bandgap in a thin film was discerned at 3.9 eV, with Urbach energy noticed in a state of 0.23 eV.