暮 is built from the 莫 (not / sunset) and 日 components.
It belongs to a phonetic family with 模, 募, 墓, and 慕 — they share the 莫 component and the reading ボ.
A common word using 暮 is 暮れる (くれる), meaning “to get dark, to come to an end”.
Don't confuse it with 模, 募, 墓, and 慕.