I have small purple spots on both knees. They aren't swollen. They don't itch or hurt.?

Knees. More than likely you knelt on something that caused small bruises on your knees. If you have this no other place on your body and have no other symptoms I would not worry about it. If it starts spreading then you should get it checked.