Hex #40388b or rgb(64,56,139) in RGB space is the tint of violet. It has hue angle of 245.78 degrees, value = 55 and saturation = 60. #40388b can be obtained by mixing 4 colors: 2 drops of magenta, 3 drops of blue, 1 drop of cyan, 2 drops of black.
Nearest safe hex - #333399. Below you can see the block with #40388b color and its structure: in procentage ratio and in drops of pigments. Click "TRY" button to move #40388b to the mixer and play with it.