Transferring data, particularly digital images, over unsecured communication channels has overgrown in the past years. Digital images such as medical images have certain information. Thus, these data should remain protected and inaccessible. According to discussed issues and numerous attack methods, implementing a high secure encryption algorithm is confronted with crucial issues and challenges. This paper proposes a new efficient color image encryption based on a chaotic system and DNA encoding following one round process. Initially, a hash function generates a secret key to be used in the confusion and diffusion stages simultaneously. Subsequently, the pixels' values are changed in the confusion phase through DNA encoding and XORing. Ultimately, the adjacent pixels' positions are shifted by permutation boxes generated from the chaotic system, and the cipher image is achieved. The experimental results and security analysis proves that our scheme has significantly higher security than other methods and can resist statistical attacks, differential attacks, and occlusion attacks.