The verb "were made" is in the passive voice because the action was performed on the subject ("clothes"). "underpaid workers" is the object of the preposition "by" and together they form a prepositional phrase that modifies the verb "were made." That prepositional phrase acts as an adverb to describe by whom the clothes were made.
Learn more about passive voice here.
All the best.