Using Tor or visiting the Dark Web are not unlawful in themselves. It is of course illegal to carry out illegal acts anonymously, such as accessing child abuse images, promoting terrorism, or selling illegal items such as weapons.