An optical film which is characterized by containing a compound that is represented by general formula (1). (In general formula (1), Q represents a carbon atom or a nitrogen atom; Z represents a non-metallic atomic group that forms a ring together with Q; each of L1 and L2 independently represents a single bond or a divalent linking group; each of R1, R2 and R3 independently represents a substituent; and n represents an integer from 0 to 2.)