#6C1C8F#6C1C8F
#6C1C8F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.180 H 312.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1C8F |
|---|---|
| RGB | rgb(108, 28, 143) |
| HSL | hsl(282, 67%, 34%) |
| HSV | hsv(282, 80%, 56%) |
| CMYK | cmyk(24.5%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(29.42, 51.94, -46.61) |
| CIE-LCH | lch(29.42, 69.79, 318.09°) |
| OKLab | oklab(41.5% 0.1218 -0.1319) |
| OKLCH | oklch(41.5% 0.18 312.7) |
| XYZ | xyz(11.5566, 6.0022, 26.5310) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.61
Rebeccapurple
#663399
ΔE00 4.71
Purple
#800080
ΔE00 5.75
Darkmagenta
#8B008B
ΔE00 6.38
Darkish Purple
#751973
ΔE00 6.56
Indigo
#4B0082
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1C8F #3F8F1C
analogous
#321C8F #6C1C8F #8F1C78
triadic
#6C1C8F #8F6C1C #1C8F6C
tetradic
#6C1C8F #8F321C #3F8F1C #1C788F
square
#6C1C8F #8F321C #3F8F1C #1C788F
split-complementary
#6C1C8F #788F1C #1C8F32
monochromatic
#1F0829 #45125C #6C1C8F #9326C2 #AF4ADC
Accessibility & contrast
On white
9.54
#6C1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#6C1C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1C8F
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1C8F | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#08478D
Tritanopia (blue-blind)
#683856
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6c1c8f; /* rgb */ color: rgb(108, 28, 143); /* oklch */ color: oklch(41.5% 0.180 312.7);
Tailwind
colors: {
custom: {
50: '#9a63b1',
500: '#6c1c8f',
950: '#000000',
},
}SCSS
$custom: #6c1c8f; $custom-light: #9a63b1; $custom-dark: #000000;
JSON
{
"hex": "#6c1c8f",
"rgb": {
"r": 108,
"g": 28,
"b": 143
},
"hsl": {
"h": 281.739,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.41495,
"c": 0.17957,
"h": 312.7
},
"luminance": 0.06002
}Semantic roles & 50–950 ramp
primary
#6C1C8F
secondary
#6DBE49
accent
#EA3E72
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80