"In darkness" is also possible--literally in darkness without any light provided. So: either expression could be used, but if my meaning is the actual situation, "in darkness" is the only one that would be correct. The idiom "in the dark" would definitely make me think only of the withholding of...