You can still enjoy rainbow nail art designs with matte nail polishes. Choose a black matte as the base so the colors will really be distinct. Then put those dots depending on your design.
Marble nails. More
20 Spring Nail Designs 2017 - Pretty Designs
Amazing Nail Art Ideas for This Summer picture 3
A subtle and fun way of making rainbow-inspired nails is through polka dots. However instead of scattering the colors, you can arrange them well to fit the colors of the rainbow and for a cleaner look.