Logwood can be used for dyeing (…). Depending on the salt added, different shades of color are obtained: alum produces blue, tin violet and copper, chrome and iron produce black shades. Fabrics dyed black are very lightfast. (…)
Although fabrics could be dyed very permanently with logwood, there was a law in England in the 16th century, for example, which prohibited logwood dyeing on the grounds that the colors were not very lightfast. The truth is, however, that logwood competed strongly with the native mallow.