Can you solve the $20 riddle? ft SMBC Comics' Zach Weinersmith

I was thinking more in the lines of pitch modulation, the person at the very last will guess his colour in a lower voice then he's signalling the person ahead of him that his hat is purple. Then the second last guy will answer purple correctly and use a lower or higher pitched voice ensuring the person ahead of him answers correctly and so on.