Depending on what time you get to Seoul station, you can:
Catch the metro from Seoul Station > City Hall station > Hongik University station. I believe the last subway is at 12:45am-ish. You can download the Kakao Metro app to have a look and double check.