Instagram will follow your phone’s dark mode. If your phone is in dark mode, your Instagram messages will be dark too. There's no separate setting just for messages in the app.
To enable Instagram message dark mode, open Instagram → Settings → Theme and select Dark. Alternatively, turn on your phone’s system-wide dark mode, which automatically applies dark mode to Instagram messages and chats.