keeping
conformity or harmony
his behavior was not in keeping with the occasion