The complementary color of #40397E is the color #777E39
The HSL model was used to determine the complementary color