#6B1F97#6B1F97
#6B1F97 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.184 H 309.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1F97 |
|---|---|
| RGB | rgb(107, 31, 151) |
| HSL | hsl(278, 66%, 36%) |
| HSV | hsv(278, 79%, 59%) |
| CMYK | cmyk(29.1%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(30.26, 52.41, -50.18) |
| CIE-LCH | lch(30.26, 72.56, 316.25°) |
| OKLab | oklab(42.25% 0.1161 -0.1425) |
| OKLCH | oklch(42.25% 0.184 309.2) |
| XYZ | xyz(12.1382, 6.3404, 29.8565) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.55
Rebeccapurple
#663399
ΔE00 3.82
Purple
#800080
ΔE00 7.01
Darkmagenta
#8B008B
ΔE00 7.27
Indigo
#4B0082
ΔE00 7.33
Darkish Purple
#751973
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1F97 #4B971F
analogous
#2F1F97 #6B1F97 #971F87
triadic
#6B1F97 #976B1F #1F976B
tetradic
#6B1F97 #972F1F #4B971F #1F8797
square
#6B1F97 #972F1F #4B971F #1F8797
split-complementary
#6B1F97 #87971F #1F972F
monochromatic
#230A31 #471564 #6B1F97 #8F29CA #AA54DC
Accessibility & contrast
On white
9.26
#6B1F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#6B1F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1F97
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1F97 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#643D5B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6b1f97; /* rgb */ color: rgb(107, 31, 151); /* oklch */ color: oklch(42.2% 0.184 309.2);
Tailwind
colors: {
custom: {
50: '#9a64b6',
500: '#6b1f97',
950: '#000000',
},
}SCSS
$custom: #6b1f97; $custom-light: #9a64b6; $custom-dark: #000000;
JSON
{
"hex": "#6b1f97",
"rgb": {
"r": 107,
"g": 31,
"b": 151
},
"hsl": {
"h": 278,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.42246,
"c": 0.18382,
"h": 309.2
},
"luminance": 0.0634
}Semantic roles & 50–950 ramp
primary
#6B1F97
secondary
#7ABF52
accent
#E93F7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80