Oxalis triangularis ‘Purpurea’ has significant ornamental value in landscaping. There is a critical necessity to elucidate the gene functions of O. triangularis ‘Purpurea’ and dissect the molecular mechanisms governing key ornamental traits. However, a reliable genetic transformation method remains elusive. In this study, our investigation revealed that various transformation parameters, including recipient material (petioles), pre-culture time (2–5 days), acetosyringone (AS) concentration (100–400 μM), Agrobacterium concentrations (OD600 = 0.4–1.0), infection time (5–20 min), and co-culture time (2–5 days), significantly impacted the stable genetic transformation in O. triangular ‘Purpurea’. Notably, the highest genetic transformation rate was achieved from the leaf discs pre-cultured for 3 days, treated with 200 μM AS infected with Agrobacterium for 11 min at OD600 of 0.6, and subsequently co-cultured for 3 days. This treatment resulted in a genetic transformation efficiency of 9.88%, and it only took 79 days to produce transgenic plants. Our transformation protocol offers advantages of speed, efficiency, and simplicity, which will greatly facilitate genetic transformation for O. triangular ‘Purpurea’ and gene function studies.