The clothes fit perfectly.

Literal

Clothes [subject-が] perfectly matched were.

ぴったり合っていた — ぴったり is a mimetic word meaning 'exactly/perfectly fitting.' 合う means 'to match/fit.' Together they describe clothes that fit just right.