Purple was once a colour only royalty could afford to wear. Hayley Birch investigates tyrian purple, or dibromoindigo, the original purple dye