The complementary color of #40595F is the color #5F4640
The HSL model was used to determine the complementary color