Someone asked this same question in this subreddit a year ago. I'm assume because the mods let the question stands that the references there are correct
https://www.reddit.com/r/AskHistorians/comments/5atdwf/purple_was_a_rare_expensive_dye_did_ancient