A 6.4 magnitude earthquake hit the Xinjiang Uighur Autonomous Region in northwestern China on Sunday, according to China's Earthquake Networks Center.