黒暗 (shinjitai kanji, kyūjitai kanji 黑暗, hiragana こくあん, romaji kokuan)
From Middle Chinese 黑暗 (/xok ʔom/, “black darkness”). Compare modern Mandarin 黑暗 (hēi'àn).