On VA and OLED panels, the monitor can do what is called per-pixel dimming.
This means effectively disabling certain pixels in dark scenes, enabling a much higher level of perceived contrast.