The complementary color of #42005E is the color #1C5E00
The HSL model was used to determine the complementary color