As designers we need to ensure that the contrast between the text and background colours in our designs are readable and easy on the user's eyes.
Jufry Heryanta makes a good point about using dark grey instead of pure black in typography to reduce eye strain, which ultimately improves conversion rates due to the fact that users spend more time reading the content.