The eye has two types of photoreceptor cells, namely, rods and cones.
Both rods and cones cells contain the light-sensitive proteins called the photopigments.
The daylight (photopic) vision and colour vision are functions of cones and the Twilight (scotopic) vision or ability to see in dark or low light is the function of the rods.
The rods contain a purplish-red photopigment called the rhodopsin or visual purple, which enables us to see in the dark.
Hence Rhodopsin pigment enables us to see in the dark.