A shallow 6.1-magnitude earthquake hit near the Indonesian island of Sulawesi, the United States Geological Survey said, with no damage or casualties immediately reported.