Tailwind violet-900: questions & answers
What is the HEX code of Tailwind violet-900?
Tailwind violet-900 is #4C1D95, which is rgb(76, 29, 149) or hsl(264, 67%, 35%).
How do I use violet-900 as a background in Tailwind?
Add the class bg-violet-900 to the element. Use text-violet-900 for text and border-violet-900 for borders.
What text color works on bg-violet-900?
violet-300 (#C4B5FD) is the closest shade of the same color with readable contrast (5.93:1). Plain white text gives 10.95:1.