Inharmonious comes from Middle French harmonieux through the Latin prefix in- (meaning "not"), ultimately deriving from Proto-Indo-European roots including ne and en.
inharmonious (English): Not in harmony; discordant; Lacking accord or...