Home /Colors /#6B21A8
#6B21A8#6B21A8

#6B21A8 color code is #6B21A8. Use this page to get all code formats, explore shades and tints, and find colors that work with #6b21a8.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #6B21A8

#6B21A8 Accessibility & WCAG Contrast

Relative luminance of #6B21A8 is 0.0704. Its WCAG contrast ratio is 8.72:1 against white and 2.41:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#6B21A8 on white8.72:1AAA
The quick brown fox
#6B21A8 on black2.41:1Fail
The quick brown fox
White on #6B21A88.72:1AAA
The quick brown fox
Black on #6B21A82.41:1Fail

#6B21A8 — Frequently Asked Questions

What is the hex code for #6B21A8?+
The hex code for #6B21A8 is #6B21A8. In RGB it's rgb(107, 33, 168), and in HSL it's hsl(273, 67%, 39%).
What is the RGB value of #6B21A8?+
#6B21A8 in RGB is (107, 33, 168). Written in CSS: rgb(107, 33, 168).
What is the CMYK value of #6B21A8?+
#6B21A8 converts to CMYK(36%, 80%, 0%, 34%) for print. Hex equivalent is #6B21A8.
Is #6b21a8 a warm or cool color?+
#6B21A8 (#6B21A8) is a transitional purple — its hue sits at 273° on the color wheel, placing it in the transitional part of the spectrum.
What color family does #6b21a8 belong to?+
#6B21A8 belongs to the purple family. Its HSL is 273°, 67%, 39% — a transitional tone within the broader purple group.
Is #6b21a8 accessible for body text on a white background?+
#6B21A8 on white reaches a WCAG contrast ratio of 8.72:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #6b21a8?+
The nearest Pantone match for #6B21A8 (#6B21A8) is 518 C Pantone 518 C, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #6B21A8 in design

Practical guidance for using #6b21a8 (#6B21A8) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #6B21A8 (#6B21A8) as primary text or icon color on white backgrounds — at 8.7:1 contrast it passes WCAG AAA for body copy. Avoid placing #6b21a8 text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #6B21A8 (#6B21A8) reads as balanced and approachable and versatile across product tiers. It fits naturally into luxury, beauty, creative, premium subscription products. Pair it with a higher-contrast accent (warm if purple runs cool, cool if it runs warm) for visual hierarchy. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#6B21A8 flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

#6B21A8 works as either a primary wall color or a strong accent — versatile across most rooms. As a wall color it pairs with white trim and warm wood; as an accent (sofa, chair, large art) it lifts a neutral room without overwhelming it. Test a large swatch against your room's natural light at three times of day before committing — mid-tone colors shift more than light or dark colors do.