Answer:
Purple Jars do not match with any known Idomatic expression. Rather, in these lines form the poem by Amy Lowell, the character uses metaphors and personification to describe a the condition of her mind. A strong theme of despair.
As if staring into the night from behind prison bars and waiting to be rescued, the lamenter paints a picture that reeks of hopelessness.
Cheers!