#6B21A8 — Tints, Shades & Color Values

#6B21A8

#6B21A8 is a dark, vivid violet. In Tailwind CSS this exact color is the utility class purple-800 (e.g. bg-purple-800, text-purple-800). Its nearest CSS named color is rebeccapurple (#663399). For readable text on a #6B21A8 background, white text gives the strongest contrast (8.72:1). #6B21A8 sits in the middle of the lightness range, so it can serve as a primary brand or accent color — use its tints for backgrounds and its shades for text and pressed states.

Want to fine-tune this color interactively? Open #6B21A8 in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#6B21A8
RGBrgb(107, 33, 168)
HSLhsl(273, 67%, 39%)
HSV / HSB273°, 80%, 66%
Nearest namedrebeccapurple (#663399)

Need these in another format? Use our hex to RGB converter for quick two-way conversion.

#6B21A8 in Tailwind CSS (purple-800)

#6B21A8 ships with Tailwind CSS as purple-800 — use it as bg-purple-800, text-purple-800, or border-purple-800. It sits at step 800 of the purple ramp; every other step links to its own page:

Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.

Tints of #6B21A8 (Mixed with White)

Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.

Shades of #6B21A8 (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

WCAG Contrast & Accessibility

Contrast ratios for text placed on a #6B21A8 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).

Text color White text 8.72:1 — AA normal: Pass · AA large: Pass · AAA: Pass
Black text 2.41:1 — AA normal: Fail · AA large: Fail · AAA: Fail

If neither pure white nor pure black reaches the level you need, pick a lighter tint of #6B21A8 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.

More violet colors in the library: #5B21B6 (violet-800), #4C1D95 (violet-900), #8E44AD, #6D28D9 (violet-700), #9B59B6, #4B0082.

Frequently Asked Questions

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #6B21A8? Put it on a free link-in-bio page →