Upvote:1
You are legally in the UK up to midnight of the expiry date of your visa. The only problem you might have would come from a delay to your flight (weather, cancelled/missed flight etc) or other unforeseen incident (lost/stolen passport, illness etc) that resulted in you being unable to leave on time. Otherwise, exiting on the last day of your visaβs validity in itself will not cause any issues.