The complementary color of #40005B is the color #1B5B00
The HSL model was used to determine the complementary color