Tailwind violet-950: questions & answers
What is the HEX code of Tailwind violet-950?
Tailwind violet-950 is #2E1065, which is rgb(46, 16, 101) or hsl(261, 73%, 23%).
How do I use violet-950 as a background in Tailwind?
Add the class bg-violet-950 to the element. Use text-violet-950 for text and border-violet-950 for borders.
What text color works on bg-violet-950?
violet-400 (#A78BFA) is the closest shade of the same color with readable contrast (5.6:1). Plain white text gives 15.24:1.