Catalyzes the transformation of p-hydroxyphenylpyruvate into HGA. Has hemolytic and brown pigment production activity. 3-(4-hydroxyphenyl)pyruvate + O2 = CO2 + homogentisate Binds 1 Fe cation per subunit. Belongs to the 4HPPD family.