The gene for purple flowers is dominant over that of white flowers. So, when two pure varieties are crossed, the F1 generation has only purple flowers and on selfing, the flowers are produced in a 3 : 1 ratio.

This result is obtained due to segregation of the alleles at the time of gametogenesis. The alleles remain together in a zygote but during gamete formation, they segregate such that the gametes carry only one allele.