#6E166A#6E166A
#6E166A is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.154 H 330.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6E166A |
|---|---|
| RGB | rgb(110, 22, 106) |
| HSL | hsl(303, 67%, 26%) |
| HSV | hsv(303, 80%, 43%) |
| CMYK | cmyk(0%, 80%, 3.6%, 56.9%) |
| CIE-LAB | lab(26.54, 47.22, -27.83) |
| CIE-LCH | lch(26.54, 54.81, 329.48°) |
| OKLab | oklab(38.71% 0.1338 -0.0769) |
| OKLCH | oklch(38.71% 0.154 330.1) |
| XYZ | xyz(9.3188, 4.9302, 14.0937) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.88
Purple
#800080
ΔE00 4.59
Rich Purple
#720058
ΔE00 4.66
Grape Purple
#5D1451
ΔE00 5.28
Darkmagenta
#8B008B
ΔE00 6.75
Velvet
#750851
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E166A #166E1A
analogous
#46166E #6E166A #6E163E
triadic
#6E166A #6A6E16 #166A6E
tetradic
#6E166A #6E4616 #166E1A #163E6E
square
#6E166A #6E4616 #166E1A #163E6E
split-complementary
#6E166A #3E6E16 #166E46
monochromatic
#1A0519 #3B0C39 #6E166A #A1209B #D42ACC
Accessibility & contrast
On white
10.58
#6E166A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#6E166A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E166A
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E166A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E166A | 1.00 | 10.58 | 1.99 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09376C
Deuteranopia (green-blind)
#324368
Tritanopia (blue-blind)
#72233F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #6e166a; /* rgb */ color: rgb(110, 22, 106); /* oklch */ color: oklch(38.7% 0.154 330.1);
Tailwind
colors: {
custom: {
50: '#9b5f95',
500: '#6e166a',
950: '#000000',
},
}SCSS
$custom: #6e166a; $custom-light: #9b5f95; $custom-dark: #000000;
JSON
{
"hex": "#6e166a",
"rgb": {
"r": 110,
"g": 22,
"b": 106
},
"hsl": {
"h": 302.727,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.38715,
"c": 0.15431,
"h": 330.1
},
"luminance": 0.04929
}Semantic roles & 50–950 ramp
primary
#6E166A
secondary
#3CA440
accent
#EA463E
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E