The complementary color of #3E31A4 is the color #98A431
The HSL model was used to determine the complementary color