#6B2BB3#6B2BB3
#6B2BB3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.200 H 299.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2BB3 |
|---|---|
| RGB | rgb(107, 43, 179) |
| HSL | hsl(268, 61%, 44%) |
| HSV | hsv(268, 76%, 70%) |
| CMYK | cmyk(40.2%, 76%, 0%, 29.8%) |
| CIE-LAB | lab(34.21, 54.16, -60.64) |
| CIE-LCH | lch(34.21, 81.30, 311.77°) |
| OKLab | oklab(45.73% 0.0989 -0.1733) |
| OKLCH | oklch(45.73% 0.2 299.7) |
| XYZ | xyz(15.0619, 8.1081, 43.4106) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.31
Purple Blue
#5D21D0
ΔE00 4.66
Blurple
#5539CC
ΔE00 5.93
Bluey Purple
#6241C7
ΔE00 5.93
Purple (survey)
#7E1E9C
ΔE00 5.93
Blue With A Hint Of Purple
#533CC6
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2BB3 #73B32B
analogous
#2B2FB3 #6B2BB3 #AF2BB3
triadic
#6B2BB3 #B36B2B #2BB36B
tetradic
#6B2BB3 #B32B2F #73B32B #2BB3AF
square
#6B2BB3 #B32B2F #73B32B #2BB3AF
split-complementary
#6B2BB3 #B3AF2B #2FB32B
monochromatic
#301350 #4E1F82 #6B2BB3 #8A48D3 #A979DF
Accessibility & contrast
On white
8.01
#6B2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#6B2BB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2BB3
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2BB3 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#5A4F6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6b2bb3; /* rgb */ color: rgb(107, 43, 179); /* oklch */ color: oklch(45.7% 0.200 299.7);
Tailwind
colors: {
custom: {
50: '#9c6bcb',
500: '#6b2bb3',
950: '#000000',
},
}SCSS
$custom: #6b2bb3; $custom-light: #9c6bcb; $custom-dark: #000000;
JSON
{
"hex": "#6b2bb3",
"rgb": {
"r": 107,
"g": 43,
"b": 179
},
"hsl": {
"h": 268.235,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.45728,
"c": 0.19953,
"h": 299.7
},
"luminance": 0.08108
}Semantic roles & 50–950 ramp
primary
#6B2BB3
secondary
#9FC773
accent
#E44399
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82