#6C1996#6C1996
#6C1996 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.189 H 310.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1996 |
|---|---|
| RGB | rgb(108, 25, 150) |
| HSL | hsl(280, 71%, 34%) |
| HSV | hsv(280, 83%, 59%) |
| CMYK | cmyk(28%, 83.3%, 0%, 41.2%) |
| CIE-LAB | lab(29.63, 54.41, -50.58) |
| CIE-LCH | lch(29.63, 74.29, 317.09°) |
| OKLab | oklab(41.81% 0.1225 -0.1436) |
| OKLCH | oklch(41.81% 0.189 310.5) |
| XYZ | xyz(12.0359, 6.0857, 29.3889) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.59
Rebeccapurple
#663399
ΔE00 4.63
Purple
#800080
ΔE00 6.59
Darkmagenta
#8B008B
ΔE00 6.95
Indigo
#4B0082
ΔE00 6.98
Darkish Purple
#751973
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1996 #439619
analogous
#2E1996 #6C1996 #961982
triadic
#6C1996 #966C19 #19966C
tetradic
#6C1996 #962E19 #439619 #198296
square
#6C1996 #962E19 #439619 #198296
split-complementary
#6C1996 #829619 #19962E
monochromatic
#20082D #461062 #6C1996 #9222CA #AE49E1
Accessibility & contrast
On white
9.47
#6C1996 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#6C1996 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1996
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1996 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#663A59
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6c1996; /* rgb */ color: rgb(108, 25, 150); /* oklch */ color: oklch(41.8% 0.189 310.5);
Tailwind
colors: {
custom: {
50: '#9b62b6',
500: '#6c1996',
950: '#000000',
},
}SCSS
$custom: #6c1996; $custom-light: #9b62b6; $custom-dark: #000000;
JSON
{
"hex": "#6c1996",
"rgb": {
"r": 108,
"g": 25,
"b": 150
},
"hsl": {
"h": 279.84,
"s": 71.429,
"l": 34.314
},
"oklch": {
"l": 0.41814,
"c": 0.18876,
"h": 310.5
},
"luminance": 0.06085
}Semantic roles & 50–950 ramp
primary
#6C1996
secondary
#71C249
accent
#EE3A76
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80