The meaning of _impertinent_ are two:

- not showing proper respect; rude
- (formal) not pertinent to a particular matter; irrelevant

At least in the second case, _impertinent_ is an antonym of _pertinent_.