KDE Kontact Windows does not show text in dark mode

You have Qt 6.9 ?

To inform your KDE it is best to copy the output of this command: kinfo

Your screenshot is a lot similar with the bug in Qt 6.9 in this thread:

Regards