#6B2BA6#6B2BA6
#6B2BA6 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.186 H 303.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2BA6 |
|---|---|
| RGB | rgb(107, 43, 166) |
| HSL | hsl(271, 59%, 41%) |
| HSV | hsv(271, 74%, 65%) |
| CMYK | cmyk(35.5%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(33.15, 51.00, -54.58) |
| CIE-LCH | lch(33.15, 74.70, 313.05°) |
| OKLab | oklab(44.66% 0.1019 -0.1555) |
| OKLCH | oklch(44.66% 0.186 303.2) |
| XYZ | xyz(13.8086, 7.6067, 36.8098) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.67
Purple (survey)
#7E1E9C
ΔE00 4.61
Purple Blue
#5D21D0
ΔE00 6.47
Violet Blue
#510AC9
ΔE00 7.37
Bluey Purple
#6241C7
ΔE00 7.37
Blurple
#5539CC
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2BA6 #66A62B
analogous
#2E2BA6 #6B2BA6 #A62BA3
triadic
#6B2BA6 #A66B2B #2BA66B
tetradic
#6B2BA6 #A62E2B #66A62B #2BA3A6
square
#6B2BA6 #A62E2B #66A62B #2BA3A6
split-complementary
#6B2BA6 #A3A62B #2BA62E
monochromatic
#2C1245 #4C1E75 #6B2BA6 #8A41CE #A871DA
Accessibility & contrast
On white
8.33
#6B2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#6B2BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2BA6
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2BA6 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#5F4966
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6b2ba6; /* rgb */ color: rgb(107, 43, 166); /* oklch */ color: oklch(44.7% 0.186 303.2);
Tailwind
colors: {
custom: {
50: '#9b6bc1',
500: '#6b2ba6',
950: '#000000',
},
}SCSS
$custom: #6b2ba6; $custom-light: #9b6bc1; $custom-dark: #000000;
JSON
{
"hex": "#6b2ba6",
"rgb": {
"r": 107,
"g": 43,
"b": 166
},
"hsl": {
"h": 271.22,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.44655,
"c": 0.18589,
"h": 303.2
},
"luminance": 0.07607
}Semantic roles & 50–950 ramp
primary
#6B2BA6
secondary
#95C16B
accent
#E24691
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0712
muted
#7E7A81