Hex #402d4e or rgb(64,45,78) in RGB space is the tint of purple. It has hue angle of 274.55 degrees, value = 31 and saturation = 42. #402d4e can be obtained by mixing 4 colors: 2 drops of red, 4 drops of blue, 1 drop of white, 5 drops of black.
Nearest safe hex - #333366. Below you can see the block with #402d4e color and its structure: in procentage ratio and in drops of pigments. Click "TRY" button to move #402d4e to the mixer and play with it.