The combination is directly shown on the contraption the captives are tied to. Just use the same color gems. I think it was purple (exchange), yellow (scrying) and green (subimation).
And don't for get to mine the bottom entrances left and right at the level before, or you will have a hard time making your way back,