Amethyst is a purple variety of quartz (SiO2) and is colored violet due to irradiation, iron impurities (in some cases in conjunction with transition element impurities), and the presence of trace elements, hence results in complex crystal lattice substitutions.
I hope this helps you and have a great rest of the day! :-)