#6C1B96#6C1B96
#6C1B96 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.187 H 310.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1B96 |
|---|---|
| RGB | rgb(108, 27, 150) |
| HSL | hsl(280, 69%, 35%) |
| HSV | hsv(280, 82%, 59%) |
| CMYK | cmyk(28%, 82%, 0%, 41.2%) |
| CIE-LAB | lab(29.85, 53.77, -50.23) |
| CIE-LCH | lch(29.85, 73.58, 316.95°) |
| OKLab | oklab(41.97% 0.121 -0.1425) |
| OKLCH | oklch(41.97% 0.187 310.3) |
| XYZ | xyz(12.0802, 6.1743, 29.4036) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.50
Rebeccapurple
#663399
ΔE00 4.40
Purple
#800080
ΔE00 6.62
Darkmagenta
#8B008B
ΔE00 6.95
Indigo
#4B0082
ΔE00 7.12
Darkish Purple
#751973
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1B96 #45961B
analogous
#2E1B96 #6C1B96 #961B83
triadic
#6C1B96 #966C1B #1B966C
tetradic
#6C1B96 #962E1B #45961B #1B8396
square
#6C1B96 #962E1B #45961B #1B8396
split-complementary
#6C1B96 #83961B #1B962E
monochromatic
#21082E #471262 #6C1B96 #9124CA #AD4DDF
Accessibility & contrast
On white
9.40
#6C1B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#6C1B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1B96
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1B96 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#663B59
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6c1b96; /* rgb */ color: rgb(108, 27, 150); /* oklch */ color: oklch(42.0% 0.187 310.3);
Tailwind
colors: {
custom: {
50: '#9b63b6',
500: '#6c1b96',
950: '#000000',
},
}SCSS
$custom: #6c1b96; $custom-light: #9b63b6; $custom-dark: #000000;
JSON
{
"hex": "#6c1b96",
"rgb": {
"r": 108,
"g": 27,
"b": 150
},
"hsl": {
"h": 279.512,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.41968,
"c": 0.187,
"h": 310.3
},
"luminance": 0.06174
}Semantic roles & 50–950 ramp
primary
#6C1B96
secondary
#74C14C
accent
#EC3B78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80