#6C1F97#6C1F97
#6C1F97 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.184 H 309.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1F97 |
|---|---|
| RGB | rgb(108, 31, 151) |
| HSL | hsl(279, 66%, 36%) |
| HSV | hsv(279, 79%, 59%) |
| CMYK | cmyk(28.5%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(30.41, 52.60, -49.93) |
| CIE-LCH | lch(30.41, 72.52, 316.49°) |
| OKLab | oklab(42.38% 0.1175 -0.1417) |
| OKLCH | oklch(42.38% 0.184 309.7) |
| XYZ | xyz(12.2591, 6.4027, 29.8622) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.36
Rebeccapurple
#663399
ΔE00 3.85
Purple
#800080
ΔE00 6.87
Darkmagenta
#8B008B
ΔE00 7.09
Indigo
#4B0082
ΔE00 7.48
Darkish Purple
#751973
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1F97 #4A971F
analogous
#301F97 #6C1F97 #971F86
triadic
#6C1F97 #976C1F #1F976C
tetradic
#6C1F97 #97301F #4A971F #1F8697
square
#6C1F97 #97301F #4A971F #1F8697
split-complementary
#6C1F97 #86971F #1F9730
monochromatic
#230A31 #481564 #6C1F97 #9029CA #AB54DC
Accessibility & contrast
On white
9.21
#6C1F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#6C1F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1F97
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1F97 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#663D5B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6c1f97; /* rgb */ color: rgb(108, 31, 151); /* oklch */ color: oklch(42.4% 0.184 309.7);
Tailwind
colors: {
custom: {
50: '#9b64b6',
500: '#6c1f97',
950: '#000000',
},
}SCSS
$custom: #6c1f97; $custom-light: #9b64b6; $custom-dark: #000000;
JSON
{
"hex": "#6c1f97",
"rgb": {
"r": 108,
"g": 31,
"b": 151
},
"hsl": {
"h": 278.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.42383,
"c": 0.18411,
"h": 309.7
},
"luminance": 0.06402
}Semantic roles & 50–950 ramp
primary
#6C1F97
secondary
#79BF52
accent
#E93F7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80