#6C1CA1#6C1CA1
#6C1CA1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.196 H 306.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1CA1 |
|---|---|
| RGB | rgb(108, 28, 161) |
| HSL | hsl(276, 70%, 37%) |
| HSV | hsv(276, 83%, 63%) |
| CMYK | cmyk(32.9%, 82.6%, 0%, 36.9%) |
| CIE-LAB | lab(30.86, 55.84, -55.29) |
| CIE-LCH | lch(30.86, 78.58, 315.28°) |
| OKLab | oklab(42.95% 0.1173 -0.1574) |
| OKLCH | oklch(42.95% 0.196 306.7) |
| XYZ | xyz(13.0312, 6.5920, 34.2972) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.91
Rebeccapurple
#663399
ΔE00 4.21
Violet Blue
#510AC9
ΔE00 7.20
Purple Blue
#5D21D0
ΔE00 7.28
Indigo
#4B0082
ΔE00 7.74
Darkmagenta
#8B008B
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1CA1 #51A11C
analogous
#291CA1 #6C1CA1 #A11C94
triadic
#6C1CA1 #A16C1C #1CA16C
tetradic
#6C1CA1 #A1291C #51A11C #1C94A1
square
#6C1CA1 #A1291C #51A11C #1C94A1
split-complementary
#6C1CA1 #94A11C #1CA129
monochromatic
#260A39 #49136D #6C1CA1 #8F25D5 #AA56E2
Accessibility & contrast
On white
9.06
#6C1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#6C1CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1CA1
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1CA1 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#634060
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6c1ca1; /* rgb */ color: rgb(108, 28, 161); /* oklch */ color: oklch(43.0% 0.196 306.7);
Tailwind
colors: {
custom: {
50: '#9c64be',
500: '#6c1ca1',
950: '#000000',
},
}SCSS
$custom: #6c1ca1; $custom-light: #9c64be; $custom-dark: #000000;
JSON
{
"hex": "#6c1ca1",
"rgb": {
"r": 108,
"g": 28,
"b": 161
},
"hsl": {
"h": 276.09,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.42952,
"c": 0.19634,
"h": 306.7
},
"luminance": 0.06592
}Semantic roles & 50–950 ramp
primary
#6C1CA1
secondary
#81C554
accent
#ED3B82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81