#6A1CB1#6A1CB1
#6A1CB1 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.211 H 301.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1CB1 |
|---|---|
| RGB | rgb(106, 28, 177) |
| HSL | hsl(271, 73%, 40%) |
| HSV | hsv(271, 84%, 69%) |
| CMYK | cmyk(40.1%, 84.2%, 0%, 30.6%) |
| CIE-LAB | lab(31.96, 59.15, -63.12) |
| CIE-LCH | lch(31.96, 86.50, 313.14°) |
| OKLab | oklab(44.08% 0.1094 -0.1805) |
| OKLCH | oklch(44.08% 0.211 301.2) |
| XYZ | xyz(14.2930, 7.0689, 42.1979) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.81
Violet Blue
#510AC9
ΔE00 5.09
Rebeccapurple
#663399
ΔE00 5.22
Purple (survey)
#7E1E9C
ΔE00 5.63
Indigo Blue
#3A18B1
ΔE00 6.91
Blue Violet
#5D06E9
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1CB1 #63B11C
analogous
#1F1CB1 #6A1CB1 #B11CAE
triadic
#6A1CB1 #B16A1C #1CB16A
tetradic
#6A1CB1 #B11F1C #63B11C #1CAEB1
square
#6A1CB1 #B11F1C #63B11C #1CAEB1
split-complementary
#6A1CB1 #AEB11C #1CB11F
monochromatic
#2B0B47 #4A147C #6A1CB1 #892CDE #A761E6
Accessibility & contrast
On white
8.70
#6A1CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#6A1CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1CB1
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1CB1 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#5A4869
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6a1cb1; /* rgb */ color: rgb(106, 28, 177); /* oklch */ color: oklch(44.1% 0.211 301.2);
Tailwind
colors: {
custom: {
50: '#9c64c9',
500: '#6a1cb1',
950: '#000000',
},
}SCSS
$custom: #6a1cb1; $custom-light: #9c64c9; $custom-dark: #000000;
JSON
{
"hex": "#6a1cb1",
"rgb": {
"r": 106,
"g": 28,
"b": 177
},
"hsl": {
"h": 271.409,
"s": 72.683,
"l": 40.196
},
"oklch": {
"l": 0.44084,
"c": 0.21104,
"h": 301.2
},
"luminance": 0.07069
}Semantic roles & 50–950 ramp
primary
#6A1CB1
secondary
#92CB5E
accent
#EF3890
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82