The purple stems has alot of different "theories" on what causes it, some say its to cold, some say its to hot, some say it turns purle when your plant is stressed.... many different speculations, i tend not to worry about the stems purpling unless the leaves start showing problems themselves.
red stems is a phosphorous defiency so make sure to distinguish between red and purple before deciding the plan of action.