#6D1CAC#6D1CAC
#6D1CAC is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.207 H 303.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6D1CAC |
|---|---|
| RGB | rgb(109, 28, 172) |
| HSL | hsl(274, 72%, 39%) |
| HSV | hsv(274, 84%, 67%) |
| CMYK | cmyk(36.6%, 83.7%, 0%, 32.5%) |
| CIE-LAB | lab(31.94, 58.45, -60.14) |
| CIE-LCH | lch(31.94, 83.87, 314.18°) |
| OKLab | oklab(44.02% 0.1154 -0.1717) |
| OKLCH | oklch(44.02% 0.207 303.9) |
| XYZ | xyz(14.1666, 7.0603, 39.6382) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.70
Rebeccapurple
#663399
ΔE00 4.77
Purple Blue
#5D21D0
ΔE00 5.74
Violet Blue
#510AC9
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 7.60
Darkviolet
#9400D3
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D1CAC #5BAC1C
analogous
#251CAC #6D1CAC #AC1CA3
triadic
#6D1CAC #AC6D1C #1CAC6D
tetradic
#6D1CAC #AC251C #5BAC1C #1CA3AC
square
#6D1CAC #AC251C #5BAC1C #1CA3AC
split-complementary
#6D1CAC #A3AC1C #1CAC25
monochromatic
#2A0B43 #4C1377 #6D1CAC #8E29DC #AA5EE5
Accessibility & contrast
On white
8.71
#6D1CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#6D1CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D1CAC
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D1CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D1CAC | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#604566
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6d1cac; /* rgb */ color: rgb(109, 28, 172); /* oklch */ color: oklch(44.0% 0.207 303.9);
Tailwind
colors: {
custom: {
50: '#9d64c6',
500: '#6d1cac',
950: '#000000',
},
}SCSS
$custom: #6d1cac; $custom-light: #9d64c6; $custom-dark: #000000;
JSON
{
"hex": "#6d1cac",
"rgb": {
"r": 109,
"g": 28,
"b": 172
},
"hsl": {
"h": 273.75,
"s": 72,
"l": 39.216
},
"oklch": {
"l": 0.44024,
"c": 0.20687,
"h": 303.9
},
"luminance": 0.0706
}Semantic roles & 50–950 ramp
primary
#6D1CAC
secondary
#8BC95B
accent
#EF3989
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82