Anciently, a sackcloth coat worn by penitents on being reconciled to the church.
2.
A garnment or cap, or sometimes both, painted with flames, figures, etc., and worn by persons who had been examined by the Inquisition and were brought forth for punishment at the auto-da-fé.
... quoth Master Jeremy Sparrow. "Go hang thyself, coward, or, if you choose, swim out to the Spaniard, and shift from thy wet doublet and hose into a sanbenito. Let the don come, shoot if he can, and land if he will! We'll singe his beard in Virginia ... — To Have and To Hold • Mary Johnston