Step 1: Understanding the Concept:
In qualitative organic analysis, specific reagents produce characteristic colors with elements like Sulfur or Nitrogen after Lassaigne's fusion.
Step 2: Key Formula or Approach:
1. Sodium nitroprusside is used to detect the presence of Sulfur.
2. The reaction involves the formation of a complex.
Step 3: Detailed Explanation:
1. Sodium fusion convert Sulfur into Sodium sulfide ($Na_2S$).
2. When Sodium nitroprusside ($Na_2[Fe(CN)_5NO]$) is added to the sodium extract containing $S^{2-}$, a complex is formed:
\[ Na_2S + Na_2[Fe(CN)_5NO] \to Na_4[Fe(CN)_5NOS] \]
3. This complex, sodium thionitroprusside, is responsible for a deep violet or purple color.
Step 4: Final Answer:
The color of compound 'X' is Violet.