#6B2CB2#6B2CB2
#6B2CB2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.197 H 299.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2CB2 |
|---|---|
| RGB | rgb(107, 44, 178) |
| HSL | hsl(268, 60%, 44%) |
| HSV | hsv(268, 75%, 70%) |
| CMYK | cmyk(39.9%, 75.3%, 0%, 30.2%) |
| CIE-LAB | lab(34.28, 53.48, -59.93) |
| CIE-LCH | lch(34.28, 80.33, 311.75°) |
| OKLab | oklab(45.75% 0.0983 -0.1712) |
| OKLCH | oklch(45.75% 0.197 299.9) |
| XYZ | xyz(14.9980, 8.1414, 42.8921) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.12
Purple Blue
#5D21D0
ΔE00 4.83
Purple (survey)
#7E1E9C
ΔE00 5.88
Bluey Purple
#6241C7
ΔE00 5.89
Blurple
#5539CC
ΔE00 5.96
Blue With A Hint Of Purple
#533CC6
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2CB2 #73B22C
analogous
#2C30B2 #6B2CB2 #AE2CB2
triadic
#6B2CB2 #B26B2C #2CB26B
tetradic
#6B2CB2 #B22C30 #73B22C #2CB2AE
square
#6B2CB2 #B22C30 #73B22C #2CB2AE
split-complementary
#6B2CB2 #B2AE2C #30B22C
monochromatic
#301450 #4E2081 #6B2CB2 #8A49D2 #A97ADE
Accessibility & contrast
On white
7.99
#6B2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#6B2CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2CB2
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2CB2 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#5A4F6D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6b2cb2; /* rgb */ color: rgb(107, 44, 178); /* oklch */ color: oklch(45.8% 0.197 299.9);
Tailwind
colors: {
custom: {
50: '#9c6cca',
500: '#6b2cb2',
950: '#000000',
},
}SCSS
$custom: #6b2cb2; $custom-light: #9c6cca; $custom-dark: #000000;
JSON
{
"hex": "#6b2cb2",
"rgb": {
"r": 107,
"g": 44,
"b": 178
},
"hsl": {
"h": 268.209,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.45751,
"c": 0.19741,
"h": 299.9
},
"luminance": 0.08142
}Semantic roles & 50–950 ramp
primary
#6B2CB2
secondary
#9FC673
accent
#E44499
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82