#6B1E96#6B1E96
#6B1E96 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.184 H 309.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1E96 |
|---|---|
| RGB | rgb(107, 30, 150) |
| HSL | hsl(279, 67%, 35%) |
| HSV | hsv(279, 80%, 59%) |
| CMYK | cmyk(28.7%, 80%, 0%, 41.2%) |
| CIE-LAB | lab(30.05, 52.56, -49.90) |
| CIE-LCH | lch(30.05, 72.47, 316.48°) |
| OKLab | oklab(42.08% 0.1172 -0.1416) |
| OKLCH | oklch(42.08% 0.184 309.6) |
| XYZ | xyz(12.0316, 6.2566, 29.4221) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.57
Rebeccapurple
#663399
ΔE00 3.99
Purple
#800080
ΔE00 6.85
Darkmagenta
#8B008B
ΔE00 7.17
Indigo
#4B0082
ΔE00 7.21
Darkish Purple
#751973
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1E96 #49961E
analogous
#2F1E96 #6B1E96 #961E85
triadic
#6B1E96 #966B1E #1E966B
tetradic
#6B1E96 #962F1E #49961E #1E8596
square
#6B1E96 #962F1E #49961E #1E8596
split-complementary
#6B1E96 #85961E #1E962F
monochromatic
#220A30 #471463 #6B1E96 #8F28C9 #AB52DC
Accessibility & contrast
On white
9.33
#6B1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#6B1E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1E96
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1E96 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#653C5A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6b1e96; /* rgb */ color: rgb(107, 30, 150); /* oklch */ color: oklch(42.1% 0.184 309.6);
Tailwind
colors: {
custom: {
50: '#9a64b6',
500: '#6b1e96',
950: '#000000',
},
}SCSS
$custom: #6b1e96; $custom-light: #9a64b6; $custom-dark: #000000;
JSON
{
"hex": "#6b1e96",
"rgb": {
"r": 107,
"g": 30,
"b": 150
},
"hsl": {
"h": 278.5,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.42078,
"c": 0.18386,
"h": 309.6
},
"luminance": 0.06256
}Semantic roles & 50–950 ramp
primary
#6B1E96
secondary
#78BF50
accent
#EA3E7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80