We devised a new configuration of optical logic gates based on a single hexagonal-lattice photonic crystal ring resonator (PCRR) composed of two-dimensional (2D) cylindrical silicon rods in air. The modal behavior of the proposed logic gates was comprehensively analyzed with a topology optimization technique based on the principle of beam interference and perturbation theory. It was then numerically verified by using a 2D finite-difference time-domain technique. The predictions have a very good agreement with the numerical results. This new single PCRR can really function as NOT and NOR gates. And the logic “0” and “1” of the hexagonal ring can be defined as less than 8% and greater than 86%, respectively, much better than earlier reported square-lattice results.