How to fully control the background color in AnkiDroid?

Even when I use !important, it still makes my color slightly lighter.

This depends on your template. Maybe some other styles have higher priority/ specificity. If you post your template code, we’ll probably have a better idea.