#6C1157#6C1157
#6C1157 is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.9% C 0.144 H 339.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1157 |
|---|---|
| RGB | rgb(108, 17, 87) |
| HSL | hsl(314, 73%, 25%) |
| HSV | hsv(314, 84%, 42%) |
| CMYK | cmyk(0%, 84.3%, 19.4%, 57.6%) |
| CIE-LAB | lab(24.57, 45.21, -18.49) |
| CIE-LCH | lch(24.57, 48.84, 337.76°) |
| OKLab | oklab(36.89% 0.1349 -0.05) |
| OKLCH | oklch(36.89% 0.144 339.7) |
| XYZ | xyz(8.1053, 4.2780, 9.4139) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 1.66
Grape Purple
#5D1451
ΔE00 3.04
Velvet
#750851
ΔE00 3.12
Plum (survey)
#580F41
ΔE00 5.22
Darkish Purple
#751973
ΔE00 5.77
Grape
#6C3461
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1157 #116C26
analogous
#54116C #6C1157 #6C112A
triadic
#6C1157 #576C11 #11576C
tetradic
#6C1157 #6C5411 #116C26 #112A6C
square
#6C1157 #6C5411 #116C26 #112A6C
split-complementary
#6C1157 #2A6C11 #116C54
monochromatic
#1A0415 #37092C #6C1157 #A11982 #D622AC
Accessibility & contrast
On white
11.32
#6C1157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#6C1157 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1157
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1157 | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183159
Deuteranopia (green-blind)
#373F55
Tritanopia (blue-blind)
#731533
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #6c1157; /* rgb */ color: rgb(108, 17, 87); /* oklch */ color: oklch(36.9% 0.144 339.7);
Tailwind
colors: {
custom: {
50: '#9a5c86',
500: '#6c1157',
950: '#000000',
},
}SCSS
$custom: #6c1157; $custom-light: #9a5c86; $custom-dark: #000000;
JSON
{
"hex": "#6c1157",
"rgb": {
"r": 108,
"g": 17,
"b": 87
},
"hsl": {
"h": 313.846,
"s": 72.8,
"l": 24.51
},
"oklch": {
"l": 0.36891,
"c": 0.14392,
"h": 339.7
},
"luminance": 0.04277
}Semantic roles & 50–950 ramp
primary
#6C1157
secondary
#35A44F
accent
#EF6338
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C