#6F1996#6F1996
#6F1996 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.190 H 311.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1996 |
|---|---|
| RGB | rgb(111, 25, 150) |
| HSL | hsl(281, 71%, 34%) |
| HSV | hsv(281, 83%, 59%) |
| CMYK | cmyk(26%, 83.3%, 0%, 41.2%) |
| CIE-LAB | lab(30.10, 54.93, -49.79) |
| CIE-LCH | lch(30.10, 74.14, 317.81°) |
| OKLab | oklab(42.24% 0.1267 -0.1411) |
| OKLCH | oklch(42.24% 0.19 311.9) |
| XYZ | xyz(12.4072, 6.2771, 29.4063) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.04
Rebeccapurple
#663399
ΔE00 4.72
Purple
#800080
ΔE00 6.14
Darkmagenta
#8B008B
ΔE00 6.40
Darkish Purple
#751973
ΔE00 7.37
Indigo
#4B0082
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1996 #409619
analogous
#311996 #6F1996 #96197F
triadic
#6F1996 #966F19 #19966F
tetradic
#6F1996 #963119 #409619 #197F96
square
#6F1996 #963119 #409619 #197F96
split-complementary
#6F1996 #7F9619 #199631
monochromatic
#21082D #481062 #6F1996 #9622CA #B149E1
Accessibility & contrast
On white
9.31
#6F1996 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#6F1996 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1996
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1996 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#6A3959
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6f1996; /* rgb */ color: rgb(111, 25, 150); /* oklch */ color: oklch(42.2% 0.190 311.9);
Tailwind
colors: {
custom: {
50: '#9d62b6',
500: '#6f1996',
950: '#000000',
},
}SCSS
$custom: #6f1996; $custom-light: #9d62b6; $custom-dark: #000000;
JSON
{
"hex": "#6f1996",
"rgb": {
"r": 111,
"g": 25,
"b": 150
},
"hsl": {
"h": 281.28,
"s": 71.429,
"l": 34.314
},
"oklch": {
"l": 0.4224,
"c": 0.18965,
"h": 311.9
},
"luminance": 0.06277
}Semantic roles & 50–950 ramp
primary
#6F1996
secondary
#6FC249
accent
#EE3A72
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80