#6C1AB2#6C1AB2
#6C1AB2 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.3% C 0.214 H 302.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1AB2 |
|---|---|
| RGB | rgb(108, 26, 178) |
| HSL | hsl(272, 75%, 40%) |
| HSV | hsv(272, 85%, 70%) |
| CMYK | cmyk(39.3%, 85.4%, 0%, 30.2%) |
| CIE-LAB | lab(32.13, 60.26, -63.44) |
| CIE-LCH | lch(32.13, 87.50, 313.53°) |
| OKLab | oklab(44.28% 0.1132 -0.1813) |
| OKLCH | oklch(44.28% 0.214 302) |
| XYZ | xyz(14.5877, 7.1412, 42.7207) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.88
Violet Blue
#510AC9
ΔE00 5.20
Rebeccapurple
#663399
ΔE00 5.41
Purple (survey)
#7E1E9C
ΔE00 5.49
Blue Violet
#5D06E9
ΔE00 7.06
Indigo Blue
#3A18B1
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1AB2 #60B21A
analogous
#201AB2 #6C1AB2 #B21AAC
triadic
#6C1AB2 #B26C1A #1AB26C
tetradic
#6C1AB2 #B2201A #60B21A #1AACB2
square
#6C1AB2 #B2201A #60B21A #1AACB2
split-complementary
#6C1AB2 #ACB21A #1AB220
monochromatic
#2B0A47 #4C127D #6C1AB2 #8C29E0 #A95FE8
Accessibility & contrast
On white
8.65
#6C1AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#6C1AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1AB2
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1AB2 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#5C476A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #6c1ab2; /* rgb */ color: rgb(108, 26, 178); /* oklch */ color: oklch(44.3% 0.214 302.0);
Tailwind
colors: {
custom: {
50: '#9d64ca',
500: '#6c1ab2',
950: '#000000',
},
}SCSS
$custom: #6c1ab2; $custom-light: #9d64ca; $custom-dark: #000000;
JSON
{
"hex": "#6c1ab2",
"rgb": {
"r": 108,
"g": 26,
"b": 178
},
"hsl": {
"h": 272.368,
"s": 74.51,
"l": 40
},
"oklch": {
"l": 0.44283,
"c": 0.21379,
"h": 302
},
"luminance": 0.07141
}Semantic roles & 50–950 ramp
primary
#6C1AB2
secondary
#8FCC5C
accent
#F1378D
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82