An antonym for anachronism is chronism.
Anachronism refers to something that is out of its proper time period, such as a historical event or object that is placed in a context where it does not belong. In contrast, chronism represents the idea of something being in its correct time. Essentially, while an anachronism indicates a mismatch with the timeline, chronism suggests a harmony with the chronological context.