Tailwind Purple 950

purple-950 · #3B0764 · rgb(59, 7, 100)

purple-950 is a dark vivid violet from the Tailwind CSS default palette, hex code #3B0764.

HEX#3B0764
RGBrgb(59, 7, 100)
HSLhsl(274, 87%, 21%)
CMYKcmyk(41%, 93%, 0%, 61%)
CSS variable (v4)var(--color-purple-950)
Color nameRoyal Purple (closest)

Classes

bg-purple-950
text-purple-950
border-purple-950
ring-purple-950
from-purple-950 via-purple-950 to-purple-950
bg-purple-950/50   /* 50% opacity */
White text · 15:1 · AAA
Black text · 1.4:1 · fails
text-purple-400 · 5.68:1 · AA

Check contrast with any color →

Tailwind purple-950: questions & answers

What is the HEX code of Tailwind purple-950?

Tailwind purple-950 is #3B0764, which is rgb(59, 7, 100) or hsl(274, 87%, 21%).

How do I use purple-950 as a background in Tailwind?

Add the class bg-purple-950 to the element. Use text-purple-950 for text and border-purple-950 for borders.

What text color works on bg-purple-950?

purple-400 (#C084FC) is the closest shade of the same color with readable contrast (5.68:1). Plain white text gives 15:1.