A 6.1-magnitude earthquake struck off northern Chile's coast on Sunday, the US Geological Survey said.