Fetching details from the dictionary...

to get dark; to grow dark
to end (of a day, year, season, etc.); to come to an end; to close
to be sunk in (e.g. despair); to be lost in (e.g. thought); to be overcome with
日が暮れる前に家に帰ろう。
Let's go home before it gets dark.
秋は日が暮れるのが早い。
In autumn, it gets dark early.
暮れてきたから急ぎましょう。
It's getting dark, so let's hurry.