#6C166A#6C166A
#6C166A is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.153 H 329.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6C166A |
|---|---|
| RGB | rgb(108, 22, 106) |
| HSL | hsl(301, 66%, 25%) |
| HSV | hsv(301, 80%, 42%) |
| CMYK | cmyk(0%, 79.6%, 1.9%, 57.6%) |
| CIE-LAB | lab(26.17, 46.76, -28.44) |
| CIE-LCH | lch(26.17, 54.73, 328.69°) |
| OKLab | oklab(38.38% 0.1315 -0.0787) |
| OKLCH | oklch(38.38% 0.153 329.1) |
| XYZ | xyz(9.0727, 4.8033, 14.0821) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.09
Purple
#800080
ΔE00 4.73
Rich Purple
#720058
ΔE00 4.94
Grape Purple
#5D1451
ΔE00 5.23
Plum Purple
#4E0550
ΔE00 6.77
Darkmagenta
#8B008B
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C166A #166C18
analogous
#43166C #6C166A #6C163F
triadic
#6C166A #6A6C16 #166A6C
tetradic
#6C166A #6C4316 #166C18 #163F6C
square
#6C166A #6C4316 #166C18 #163F6C
split-complementary
#6C166A #3F6C16 #166C43
monochromatic
#190519 #390C38 #6C166A #9F209C #D22BCE
Accessibility & contrast
On white
10.71
#6C166A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#6C166A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C166A
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C166A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C166A | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#06376C
Deuteranopia (green-blind)
#304268
Tritanopia (blue-blind)
#70233F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #6c166a; /* rgb */ color: rgb(108, 22, 106); /* oklch */ color: oklch(38.4% 0.153 329.1);
Tailwind
colors: {
custom: {
50: '#995e95',
500: '#6c166a',
950: '#000000',
},
}SCSS
$custom: #6c166a; $custom-light: #995e95; $custom-dark: #000000;
JSON
{
"hex": "#6c166a",
"rgb": {
"r": 108,
"g": 22,
"b": 106
},
"hsl": {
"h": 301.395,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.38382,
"c": 0.15327,
"h": 329.1
},
"luminance": 0.04803
}Semantic roles & 50–950 ramp
primary
#6C166A
secondary
#3CA23E
accent
#E9433F
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E