The enzymes flavonoid 3'-hydroxylase (F3'H) and flavonoid 3',5'-hydroxylase (F3'5'H) play an important role in flower color by determining the B-ring hydroxylation pattern of anthocyanins, the major floral pigments. F3'5'H is necessary for biosynthesis of the delphinidin-based anthocyanins that confer a violet or blue color to most plants. Antirrhinum majus does not produce delphinidin and lacks violet flower colour while A. kelloggii produces violet flowers containing delphinidin. To understand the cause of this inter-specific difference in the Antirrhinum genus, we isolated one F3'H and two F3'5'H homologues from the A. kelloggii petal cDNA library. Their amino acid sequences showed high identities to F3'Hs and F3'5'Hs of closely related species. Transgenic petunia expressing these genes had elevated amounts of cyanidin and delphinidin respectively, and flower color changes in the transgenics reflected the type of accumulated anthocyanidins. The results indicate that the homologs encode F3'H and F3'5'H, respectively, and that the ancestor of A. majus lost F3'5'H activity after its speciation from the ancestor of A. kelloggii.