Hex #40172b or rgb(64,23,43) in RGB space is the tint of scarlet. It has hue angle of 330.73 degrees, value = 25 and saturation = 64. #40172b can be obtained by mixing 3 colors: 2 drops of magenta, 1 drop of green, 5 drops of black.
Nearest safe hex - #330033. Below you can see the block with #40172b color and its structure: in procentage ratio and in drops of pigments. Click "TRY" button to move #40172b to the mixer and play with it.