It is a secretion produced by several species of predatory sea snails in the family Muricidae, rock snails originally known by the name Murex. In ancient times, extracting this dye involved tens of thousands of snails and substantial labor, and as a result, the dye was highly valued.

Source: Tyrian purple – Wikipedia