Access denied page for users without permission "View published content" My site access is only for registred users, then when you try to access drupal returns the "access denied" page. I want to customize my "access denied" page but the anonymous user doesn't have the "View published content" permission. Then they can't see a basic page node with my access node page customization.

How can I resolve this ?
-It can be a static html (but I don't know how to redirect when this error is raised). But drupal throws an error when I put in /admin/config/system/site-information because isn't a drupal path
-If is a node (my access denied page) how can I grant the anonymous users to view ?

I'm using Drupal 8
You can try Custom error module, It allows the site admin to create custom error pages for HTTP status codes 403 (access denied) and 404 (not found), without the need to create nodes for each of them.