here are some pictures of Phosphorus deficiency. The purple discoloration on your leafs are the indicator of this deficiency.
Purple stems are also an indicator, but not always present.
As to why you have the (P) deficiency. It could be over watering, soil, pH to high/low.
Marijuana Loves...