Color contrast answer
Does #4338ca work on #000000?
#4338ca text on a #000000 background has a contrast ratio of 2.66:1, so it fails common WCAG contrast thresholds for text.
Open this page with JavaScript enabled to edit the colors, tune the pair, and compare it against a full palette.