Accumulation of anthocyanins and proanthocyanidins (PAs) is limited to specific cell types and developmental stages, but little is known about how antagonistically acting transcriptional regulators work together to determine temporal and spatial patterning of pigmentation at the cellular level, especially for PAs. Here, we characterize MYB2, a transcriptional repressor regulating both anthocyanin and PA biosynthesis in the model legume Medicago truncatula. MYB2 was strongly upregulated by MYB5, a major regulator of PA biosynthesis in M. truncatula and a component of MYB-basic helix loop helix-WD40 (MBW) activator complexes. Overexpression of MYB2 abolished anthocyanin and PA accumulation in M. truncatula hairy roots and Arabidopsis thaliana seeds, respectively. Anthocyanin deposition was expanded in myb2 mutant seedlings and flowers accompanied by increased anthocyanin content. PA mainly accumulated in the epidermal layer derived from the outer integument in the M. truncatula seed coat, starting from the hilum area. The area of PA accumulation and ANTHOCYANIDIN REDUCTASE expression was expanded into the seed body at the early stage of seed development in the myb2 mutant. Genetic, biochemical, and cell biological evidence suggests that MYB2 functions as part of a multidimensional regulatory network to define the temporal and spatial pattern of anthocyanin and PA accumulation linked to developmental processes.