#6B2AB7#6B2AB7
#6B2AB7 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.205 H 298.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2AB7 |
|---|---|
| RGB | rgb(107, 42, 183) |
| HSL | hsl(268, 63%, 44%) |
| HSV | hsv(268, 77%, 72%) |
| CMYK | cmyk(41.5%, 77%, 0%, 28.2%) |
| CIE-LAB | lab(34.40, 55.57, -62.70) |
| CIE-LCH | lch(34.40, 83.78, 311.55°) |
| OKLab | oklab(45.97% 0.0987 -0.1793) |
| OKLCH | oklch(45.97% 0.205 298.8) |
| XYZ | xyz(15.4364, 8.2004, 45.5601) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.12
Rebeccapurple
#663399
ΔE00 4.88
Blurple
#5539CC
ΔE00 5.58
Bluey Purple
#6241C7
ΔE00 5.71
Violet Blue
#510AC9
ΔE00 5.80
Blue With A Hint Of Purple
#533CC6
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2AB7 #76B72A
analogous
#2A2FB7 #6B2AB7 #B22AB7
triadic
#6B2AB7 #B76B2A #2AB76B
tetradic
#6B2AB7 #B72A2F #76B72A #2AB7B2
square
#6B2AB7 #B72A2F #76B72A #2AB7B2
split-complementary
#6B2AB7 #B7B22A #2FB72A
monochromatic
#311353 #4E1F85 #6B2AB7 #8A49D5 #AA7BE1
Accessibility & contrast
On white
7.95
#6B2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#6B2AB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2AB7
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2AB7 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#585070
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6b2ab7; /* rgb */ color: rgb(107, 42, 183); /* oklch */ color: oklch(46.0% 0.205 298.8);
Tailwind
colors: {
custom: {
50: '#9c6bce',
500: '#6b2ab7',
950: '#000000',
},
}SCSS
$custom: #6b2ab7; $custom-light: #9c6bce; $custom-dark: #000000;
JSON
{
"hex": "#6b2ab7",
"rgb": {
"r": 107,
"g": 42,
"b": 183
},
"hsl": {
"h": 267.66,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.45966,
"c": 0.20472,
"h": 298.8
},
"luminance": 0.08201
}Semantic roles & 50–950 ramp
primary
#6B2AB7
secondary
#A2C974
accent
#E6429A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82