Right side
未 supplies the sound: wèi shifted to mèi via a regular w/m alternation.
未 also adds meaning — not yet, incomplete — which dovetails with
昧's sense: light not yet risen, knowledge not yet attained. Together the pair pictures 'sun not yet up', the dim half-light of pre-dawn, hence obscurity, ignorance.