I edited the uv coordinates of the model, and when I switched back to the texture paint tab the texture became extremely desaturated. I may have accidentally clicked an option I didn't intend to, but I have no idea what to look for.
This is how it looks in the texture paint tab.
In the shading tab, as well as all others, the saturation is correct.