#6B26B1#6B26B1
#6B26B1 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.203 H 300.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6B26B1 |
|---|---|
| RGB | rgb(107, 38, 177) |
| HSL | hsl(270, 65%, 42%) |
| HSV | hsv(270, 79%, 69%) |
| CMYK | cmyk(39.5%, 78.5%, 0%, 30.6%) |
| CIE-LAB | lab(33.32, 55.74, -60.89) |
| CIE-LCH | lch(33.32, 82.55, 312.47°) |
| OKLab | oklab(45.06% 0.1036 -0.174) |
| OKLCH | oklch(45.06% 0.203 300.8) |
| XYZ | xyz(14.6904, 7.6862, 42.2961) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.39
Purple Blue
#5D21D0
ΔE00 4.79
Purple (survey)
#7E1E9C
ΔE00 5.53
Violet Blue
#510AC9
ΔE00 5.84
Blurple
#5539CC
ΔE00 6.58
Bluey Purple
#6241C7
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B26B1 #6CB126
analogous
#2627B1 #6B26B1 #B126B1
triadic
#6B26B1 #B16B26 #26B16B
tetradic
#6B26B1 #B12627 #6CB126 #26B1B1
square
#6B26B1 #B12627 #6CB126 #26B1B1
split-complementary
#6B26B1 #B1B126 #27B126
monochromatic
#2E104C #4D1B7F #6B26B1 #8A3FD6 #A871E0
Accessibility & contrast
On white
8.28
#6B26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#6B26B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B26B1
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B26B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B26B1 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#5B4C6B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6b26b1; /* rgb */ color: rgb(107, 38, 177); /* oklch */ color: oklch(45.1% 0.203 300.8);
Tailwind
colors: {
custom: {
50: '#9c69c9',
500: '#6b26b1',
950: '#000000',
},
}SCSS
$custom: #6b26b1; $custom-light: #9c69c9; $custom-dark: #000000;
JSON
{
"hex": "#6b26b1",
"rgb": {
"r": 107,
"g": 38,
"b": 177
},
"hsl": {
"h": 269.784,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.45055,
"c": 0.20253,
"h": 300.8
},
"luminance": 0.07686
}Semantic roles & 50–950 ramp
primary
#6B26B1
secondary
#9AC76B
accent
#E84095
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82