#6C1699#6C1699
#6C1699 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.194 H 309.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1699 |
|---|---|
| RGB | rgb(108, 22, 153) |
| HSL | hsl(279, 75%, 34%) |
| HSV | hsv(279, 86%, 60%) |
| CMYK | cmyk(29.4%, 85.6%, 0%, 40%) |
| CIE-LAB | lab(29.57, 55.94, -52.52) |
| CIE-LCH | lch(29.57, 76.73, 316.81°) |
| OKLab | oklab(41.85% 0.1238 -0.1492) |
| OKLCH | oklch(41.85% 0.194 309.7) |
| XYZ | xyz(12.2199, 6.0621, 30.6572) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.78
Rebeccapurple
#663399
ΔE00 4.87
Indigo
#4B0082
ΔE00 6.90
Purple
#800080
ΔE00 6.94
Darkmagenta
#8B008B
ΔE00 7.23
Darkish Purple
#751973
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1699 #439916
analogous
#2A1699 #6C1699 #991685
triadic
#6C1699 #996C16 #16996C
tetradic
#6C1699 #992A16 #439916 #168599
square
#6C1699 #992A16 #439916 #168599
split-complementary
#6C1699 #859916 #16992A
monochromatic
#20072E #460E63 #6C1699 #921ECF #AE45E4
Accessibility & contrast
On white
9.49
#6C1699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#6C1699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1699
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1699 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#653A5A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6c1699; /* rgb */ color: rgb(108, 22, 153); /* oklch */ color: oklch(41.8% 0.194 309.7);
Tailwind
colors: {
custom: {
50: '#9b61b8',
500: '#6c1699',
950: '#000000',
},
}SCSS
$custom: #6c1699; $custom-light: #9b61b8; $custom-dark: #000000;
JSON
{
"hex": "#6c1699",
"rgb": {
"r": 108,
"g": 22,
"b": 153
},
"hsl": {
"h": 279.389,
"s": 74.857,
"l": 34.314
},
"oklch": {
"l": 0.41849,
"c": 0.19391,
"h": 309.7
},
"luminance": 0.06062
}Semantic roles & 50–950 ramp
primary
#6C1699
secondary
#71C546
accent
#F13677
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80