What is hex #6B2AC2 color?
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.
From a technical standpoint, this color is composed of 42% red, 16% green and 76% blue, resulting in rgb(107, 42, 194) and hsl(266, 64%, 46%).
For print media and manufacturing layout, the CMYK equivalent is (45%, 78%, 0%, 24%).
In the HSV/HSB scale, #6B2AC2 features a hue of 266°, 78% saturation, and 76% brightness.
Hex #6B2AC2 Color Codes & Conversions
| Closest Named Color | Dark Orchid (#9932CC) |
| Hex Code | #6B2AC2 |
| Hex8 (RGBA Hex) | #6B2AC2FF |
| RGB (CSS) | rgb(107, 42, 194) |
| RGBA (CSS) | rgba(107, 42, 194, 1) |
| HSL (CSS) | hsl(266, 64%, 46%) |
| HSLA (CSS) | hsla(266, 64%, 46%, 1) |
| HSV / HSB | (266°, 78%, 76%) |
| CMYK Values | (45%, 78%, 0%, 24%) |
| OKLCH (Modern CSS) | oklch(46.9% 0.216 296.3) |
| CIE-LAB (D65) | 35.35, 58.28, -67.62 |
| CIE XYZ | 16.63, 8.68, 51.83 |
| Decimal / Binary |
7023298
01101011 00101010 11000010 |
WCAG 2.1 Color Contrast & Accessibility
Check how #6B2AC2 complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #6B2AC2
Sample preview of readable typography on top of #6B2AC2.
Black Text on #6B2AC2
Sample preview of readable typography on top of #6B2AC2.
HTML / CSS Live Previews & Snippets for #6B2AC2
Preview #6B2AC2 in real UI elements and copy ready-to-use CSS rules.
background-color: #6B2AC2;
color: #6B2AC2;
border: 2px solid #6B2AC2;
:root {
--color-primary: #6B2AC2;
--color-primary-rgb: 107, 42, 194;
--color-complementary: #81C22A;
}
.btn-accent {
background-color: #6B2AC2;
color: #ffffff;
}
Hex #6B2AC2 Color Palettes
Complementary Palette
The complementary color of #6B2AC2 is #81C22A. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #6B2AC2 pairs with #2A35C2 and #B72AC2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #6B2AC2 pairs with #35C22A and #C2B72A, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #6B2AC2 uses #2AC26B and #C26B2A, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #6B2AC2 combines #C26B2A, #81C22A and #2A81C2 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #6B2AC2 pairs with #C22A35, #81C22A and #2AC2B7 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #6B2AC2
Tints
Tints are created by mixing #6B2AC2 with white, producing lighter variations.
Tones
Tones are created by mixing #6B2AC2 with gray, softening saturation.
Shades
Shades result from mixing #6B2AC2 with black, creating deeper variations.
Hex #6B2AC2 in Programming & CSS Frameworks
Copy the exact syntax for #6B2AC2 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #6B2AC2 |
| Tailwind CSS | bg-[#6B2AC2] text-[#6B2AC2] |
| Java (AWT) | new Color(107,42,194); |
| Python | Color("#6B2AC2") |
| .NET (C#) | Color.FromArgb(255, 107,42,194); |
| Swift / iOS | UIColor(red: 0.42, green: 0.16, blue: 0.76, alpha: 1) |
| Kotlin / Android | Color.rgb(107, 42, 194) |