The hex color #40366c is a dark color. The web-safe version is Hex
#333366. A complementary color is
#BFC993. The grayscale version is
#4B4B4B. A 20% lighter version of the original color is
#73699F, and Hex
#0D0339 is the 20% darker color. If the color is saturated by 10%, you get
#3F346F. If the color is desaturated by 10%, the color
#413869 is obtained.