#6C1B89#6C1B89
#6C1B89 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.175 H 315.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1B89 |
|---|---|
| RGB | rgb(108, 27, 137) |
| HSL | hsl(284, 67%, 32%) |
| HSV | hsv(284, 80%, 54%) |
| CMYK | cmyk(21.2%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(28.85, 51.03, -43.81) |
| CIE-LCH | lch(28.85, 67.26, 319.35°) |
| OKLab | oklab(40.95% 0.1239 -0.1237) |
| OKLCH | oklch(40.95% 0.175 315) |
| XYZ | xyz(11.0909, 5.7786, 24.1932) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.06
Purple
#800080
ΔE00 5.01
Rebeccapurple
#663399
ΔE00 5.40
Darkish Purple
#751973
ΔE00 5.56
Darkmagenta
#8B008B
ΔE00 5.97
Indigo
#4B0082
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1B89 #38891B
analogous
#351B89 #6C1B89 #891B6F
triadic
#6C1B89 #896C1B #1B896C
tetradic
#6C1B89 #89351B #38891B #1B6F89
square
#6C1B89 #89351B #38891B #1B6F89
split-complementary
#6C1B89 #6F891B #1B8935
monochromatic
#1B0723 #441156 #6C1B89 #9425BC #B344DA
Accessibility & contrast
On white
9.74
#6C1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#6C1B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1B89
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1B89 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#154687
Tritanopia (blue-blind)
#6A3552
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #6c1b89; /* rgb */ color: rgb(108, 27, 137); /* oklch */ color: oklch(41.0% 0.175 315.0);
Tailwind
colors: {
custom: {
50: '#9a62ac',
500: '#6c1b89',
950: '#000000',
},
}SCSS
$custom: #6c1b89; $custom-light: #9a62ac; $custom-dark: #000000;
JSON
{
"hex": "#6c1b89",
"rgb": {
"r": 108,
"g": 27,
"b": 137
},
"hsl": {
"h": 284.182,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.40951,
"c": 0.17505,
"h": 315
},
"luminance": 0.05778
}Semantic roles & 50–950 ramp
primary
#6C1B89
secondary
#64BC44
accent
#EA3E6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F