#6B1B97#6B1B97
#6B1B97 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.188 H 309.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1B97 |
|---|---|
| RGB | rgb(107, 27, 151) |
| HSL | hsl(279, 70%, 35%) |
| HSV | hsv(279, 82%, 59%) |
| CMYK | cmyk(29.1%, 82.1%, 0%, 40.8%) |
| CIE-LAB | lab(29.77, 53.81, -50.97) |
| CIE-LCH | lch(29.77, 74.12, 316.56°) |
| OKLab | oklab(41.91% 0.1194 -0.1448) |
| OKLCH | oklch(41.91% 0.188 309.5) |
| XYZ | xyz(12.0401, 6.1443, 29.8239) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.70
Rebeccapurple
#663399
ΔE00 4.34
Purple
#800080
ΔE00 6.90
Indigo
#4B0082
ΔE00 7.00
Darkmagenta
#8B008B
ΔE00 7.23
Darkish Purple
#751973
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1B97 #47971B
analogous
#2D1B97 #6B1B97 #971B85
triadic
#6B1B97 #976B1B #1B976B
tetradic
#6B1B97 #972D1B #47971B #1B8597
square
#6B1B97 #972D1B #47971B #1B8597
split-complementary
#6B1B97 #85971B #1B972D
monochromatic
#21082F #461263 #6B1B97 #9024CB #AB4DDF
Accessibility & contrast
On white
9.42
#6B1B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#6B1B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1B97
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1B97 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#643B5A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6b1b97; /* rgb */ color: rgb(107, 27, 151); /* oklch */ color: oklch(41.9% 0.188 309.5);
Tailwind
colors: {
custom: {
50: '#9a63b6',
500: '#6b1b97',
950: '#000000',
},
}SCSS
$custom: #6b1b97; $custom-light: #9a63b6; $custom-dark: #000000;
JSON
{
"hex": "#6b1b97",
"rgb": {
"r": 107,
"g": 27,
"b": 151
},
"hsl": {
"h": 278.71,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.41909,
"c": 0.18764,
"h": 309.5
},
"luminance": 0.06144
}Semantic roles & 50–950 ramp
primary
#6B1B97
secondary
#76C14C
accent
#EC3B7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80