out of keeping with
US /aʊt əv ˈkiːpɪŋ wɪθ/
UK /aʊt əv ˈkiːpɪŋ wɪθ/

1.
not in harmony or agreement with something
:
•
Her casual attire was out of keeping with the formal event.
•
His rude comments were completely out of keeping with his usual polite demeanor.