Freshly prepared sodium nitroprusside solution is added to the sodium fusion extract, turning the solution deep violet due to formation of sodium thionitroprusside.  </blockquote>
In case, both nitrogen and sulfur are present in an organic compound, sodium thiocyanate is formed which gives blood red color since there are no free cyanide ions.
 </blockquote>