in keeping with
Conforming to, in harmony with, as in The new wing is in keeping with the house's original architecture, or His actions are not in keeping with his words. This expression uses keeping in the sense of "harmony," as does its antonym, , as in The funeral arrangements were out of keeping with the family's wishes. [c. 1800] Also see in key; in line.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.