New insight in the making of purple codices