#6A1C96#6A1C96
#6A1C96 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.185 H 309.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1C96 |
|---|---|
| RGB | rgb(106, 28, 150) |
| HSL | hsl(278, 69%, 35%) |
| HSV | hsv(278, 81%, 59%) |
| CMYK | cmyk(29.3%, 81.3%, 0%, 41.2%) |
| CIE-LAB | lab(29.66, 53.08, -50.55) |
| CIE-LCH | lch(29.66, 73.30, 316.40°) |
| OKLab | oklab(41.77% 0.1175 -0.1436) |
| OKLCH | oklch(41.77% 0.186 309.3) |
| XYZ | xyz(11.8630, 6.0969, 29.4001) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.83
Rebeccapurple
#663399
ΔE00 4.24
Indigo
#4B0082
ΔE00 6.89
Purple
#800080
ΔE00 6.95
Darkmagenta
#8B008B
ΔE00 7.33
Darkish Purple
#751973
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1C96 #48961C
analogous
#2D1C96 #6A1C96 #961C85
triadic
#6A1C96 #966A1C #1C966A
tetradic
#6A1C96 #962D1C #48961C #1C8596
square
#6A1C96 #962D1C #48961C #1C8596
split-complementary
#6A1C96 #85961C #1C962D
monochromatic
#21092F #461262 #6A1C96 #8E26CA #AA4EDE
Accessibility & contrast
On white
9.46
#6A1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#6A1C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1C96
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1C96 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#633C5A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a1c96; /* rgb */ color: rgb(106, 28, 150); /* oklch */ color: oklch(41.8% 0.185 309.3);
Tailwind
colors: {
custom: {
50: '#9a63b6',
500: '#6a1c96',
950: '#000000',
},
}SCSS
$custom: #6a1c96; $custom-light: #9a63b6; $custom-dark: #000000;
JSON
{
"hex": "#6a1c96",
"rgb": {
"r": 106,
"g": 28,
"b": 150
},
"hsl": {
"h": 278.361,
"s": 68.539,
"l": 34.902
},
"oklch": {
"l": 0.4177,
"c": 0.1855,
"h": 309.3
},
"luminance": 0.06097
}Semantic roles & 50–950 ramp
primary
#6A1C96
secondary
#77C14D
accent
#EB3C7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80