The complementary color of #331A6A is the color #526A1A
The HSL model was used to determine the complementary color