#6F1796#6F1796
#6F1796 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.191 H 312.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6F1796 |
|---|---|
| RGB | rgb(111, 23, 150) |
| HSL | hsl(282, 73%, 34%) |
| HSV | hsv(282, 85%, 59%) |
| CMYK | cmyk(26%, 84.7%, 0%, 41.2%) |
| CIE-LAB | lab(29.90, 55.52, -50.12) |
| CIE-LCH | lch(29.90, 74.80, 317.92°) |
| OKLab | oklab(42.1% 0.1281 -0.1421) |
| OKLCH | oklch(42.1% 0.191 312) |
| XYZ | xyz(12.3659, 6.1947, 29.3925) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.15
Rebeccapurple
#663399
ΔE00 4.93
Purple
#800080
ΔE00 6.11
Darkmagenta
#8B008B
ΔE00 6.40
Indigo
#4B0082
ΔE00 7.34
Darkish Purple
#751973
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F1796 #3E9617
analogous
#301796 #6F1796 #96177E
triadic
#6F1796 #966F17 #17966F
tetradic
#6F1796 #963017 #3E9617 #177E96
square
#6F1796 #963017 #3E9617 #177E96
split-complementary
#6F1796 #7E9617 #179630
monochromatic
#20072C #480F61 #6F1796 #961FCB #B245E2
Accessibility & contrast
On white
9.38
#6F1796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#6F1796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F1796
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F1796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F1796 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#6A3959
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6f1796; /* rgb */ color: rgb(111, 23, 150); /* oklch */ color: oklch(42.1% 0.191 312.0);
Tailwind
colors: {
custom: {
50: '#9d62b6',
500: '#6f1796',
950: '#000000',
},
}SCSS
$custom: #6f1796; $custom-light: #9d62b6; $custom-dark: #000000;
JSON
{
"hex": "#6f1796",
"rgb": {
"r": 111,
"g": 23,
"b": 150
},
"hsl": {
"h": 281.575,
"s": 73.41,
"l": 33.922
},
"oklch": {
"l": 0.42098,
"c": 0.19131,
"h": 312
},
"luminance": 0.06194
}Semantic roles & 50–950 ramp
primary
#6F1796
secondary
#6CC345
accent
#F03870
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80