thanks for your query at HCM
painful , purple color knee could be due to trauma that you might not have noticed.
it will take some time to mresolve take tab combiflam
after meals two times day it will relieve the pain.
do hot compression, necessary rest to knee.
if pain is not decreasing get one x ray
knee ap and lateral view that will rule out is it due to injury
or other problem.