#6B21A8

#6B21A8

Comprehensive color parameter breakdown, RGB/CMYK conversion, WCAG accessibility metrics, and harmonious palette pairings.

HEX

#6B21A8

RGB

107, 33, 168

HSL

273°, 67%, 39%

CMYK

36%, 80%, 0%, 34%

OKLCH

0.413, 0.201, 273°

Tailwind Class

bg-[#6b21a8]

Live UI Component Preview

Preview how #6B21A8 renders across real buttons, badges, cards, and hero elements.

CTA Button
Pill Badge
Featured Category
Active Card Border

Highlighted interactive container with #6B21A8 accent.

Tints of #6B21A8 (Lighter Steps)

Created by progressively blending #6B21A8 with pure white (#FFFFFF). Click any color to explore its dedicated color theory, or click copy to copy the hex code.

Shades of #6B21A8 (Darker Steps)

Created by progressively mixing #6B21A8 with pure black (#000000). Click any shade to inspect its full color profile, or copy the hex code directly.

Color Harmonies & Pairings

Scientifically calculated color schemes derived from the 360° color wheel relative to #6B21A8. Click any swatch to view its complete color profile.

Complementary (180° Opposite)

High Impact & Contrast

Directly across on the color wheel. Maximum visual tension, ideal for Call-to-Action (CTA) buttons and badges.

#6B21A8
#5DA621

Analogous (±30° Neighbors)

Harmonious & Gentle

Adjacent hues on the color wheel. Natural and serene, perfect for gradients, backgrounds, and art themes.

Triadic (120° Equilateral Triangle)

Vibrant & Balanced

Three equidistant hues around the wheel. Rich in color balance, ideal for multi-category dashboards and charts.

Tetradic (90° Rectangle)

Rich 4-Color Palette

Two complementary pairs. Offers rich variety when one color dominates and others serve as accents.

WCAG 2.1 Accessibility Contrast Checker

Official Web Content Accessibility Guidelines compliance ratings for #6B21A8.

White Text (#FFFFFF)
Contrast Ratio:8.72 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)
Black Text (#000000)
Contrast Ratio:2.41 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)

Explore Related Colors & Combinations

Discover complementary and analogous colors paired with #6B21A8.

Frequently Asked Questions about #6B21A8

What is the RGB value of #6B21A8?

The RGB value of #6B21A8 is rgb(107, 33, 168). It is composed of 107 red, 33 green, and 168 blue light channels.

What is the CMYK equivalent of #6B21A8 for printing?

For four-color process printing (offset and digital), #6B21A8 translates to Cyan 36%, Magenta 80%, Yellow 0%, and Key (Black) 34%.

What colors harmonize best with #6B21A8?

The direct 180° complementary color is #5DA621. For softer and serene designs, its analogous neighbors are #2721A6 and #A6219F.

How do I use #6B21A8 in CSS and Tailwind?

In standard CSS, use color: #6B21A8; or background-color: #6B21A8;. In Tailwind CSS, use arbitrary value syntax: bg-[#6b21a8] or text-[#6b21a8].