From the Middle Ages to the 19th century, brides in Western societies wore dresses in shades of blue, red, gray, or gold rather than white. The reasons for this were both practical and economic. The ease with which white could get dirty made it impractical under the living conditions of the time.
Most women did not have a special dress made for their wedding; they usually wore their best dress. These outfits would continue to be worn after the wedding. However, due to its tendency to get dirty quickly, a white dress was a symbol of luxury. Therefore, it was considered suitable only for the wealthy.
The association of the color white with purity actually dates back to Ancient Rome. In the Roman Republic, brides wore white tunics, symbolizing both virginity and the transition to marriage. However, this habit completely disappeared for centuries after the fall of the Roman Empire.