The formula of the compound which gives violet colour in Lassiagne’s test for sulphur with sodium nitroprusside is
Na4[Fe(CN)5NOS]
Na3[Fe(CN)5NOS]
Na2[Fe(CN)5S]
Na4[Fe(CN)4S]
Na2S+Na2[Fe(CN)5NO]→Na4[Fe(CN)5NOS]