#6B21A8 — Tints, Shades & Color Values
#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.
Color Values
| Hex | #6B21A8 |
|---|---|
| RGB | rgb(107, 33, 168) |
| HSL | hsl(273, 67%, 39%) |
| HSV / HSB | 273°, 80%, 66% |
| Nearest named | rebeccapurple (#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.
-
10% tint
#7a37b1 -
20% tint
#894db9 -
30% tint
#9764c2 -
40% tint
#a67acb -
50% tint
#b590d4 -
60% tint
#c4a6dc -
70% tint
#d3bce5 -
80% tint
#e1d3ee -
90% tint
#f0e9f6
Shades of #6B21A8 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#601e97 -
20% shade
#561a86 -
30% shade
#4b1776 -
40% shade
#401465 -
50% shade
#361154 -
60% shade
#2b0d43 -
70% shade
#200a32 -
80% shade
#150722 -
90% shade
#0b0311
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
-
What color is #6B21A8?
#6B21A8 is a dark, vivid violet —
rgb(107, 33, 168). Its nearest CSS named color isrebeccapurple. In Tailwind CSS it ispurple-800. -
How do I make tints and shades of #6B21A8?
Mix #6B21A8 with white for tints and with black for shades. A 20% tint of #6B21A8 is
#894db9and a 20% shade is#561a86— the full 10%–90% ramps are precomputed on this page, or open #6B21A8 in the generator for finer steps. -
What text color is readable on #6B21A8?
White text gives the strongest contrast on a #6B21A8 background at 8.72:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #6B21A8?
purple-800— use it asbg-purple-800,text-purple-800, orborder-purple-800. The full purple 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#6B21A8? Put it on a free link-in-bio page →