It's often used to indicate that someone will be awake or out and about until a late hour.
Here are some examples of how it can be used:
* "Me quedaré hasta tarde estudiando." (I will stay up late studying.)
* "La fiesta durará hasta tarde." (The party will last late into the night.)
* "Nos vemos hasta tarde." (See you later/See you late.)