The complementary color of #402F0F is the color #0F2040
The HSL model was used to determine the complementary color