#6C2196#6C2196
#6C2196 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.181 H 309.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2196 |
|---|---|
| RGB | rgb(108, 33, 150) |
| HSL | hsl(278, 64%, 36%) |
| HSV | hsv(278, 78%, 59%) |
| CMYK | cmyk(28%, 78%, 0%, 41.2%) |
| CIE-LAB | lab(30.59, 51.63, -49.02) |
| CIE-LCH | lch(30.59, 71.20, 316.48°) |
| OKLab | oklab(42.49% 0.116 -0.1391) |
| OKLCH | oklch(42.49% 0.181 309.8) |
| XYZ | xyz(12.2321, 6.4781, 29.4543) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.31
Rebeccapurple
#663399
ΔE00 3.62
Purple
#800080
ΔE00 6.82
Darkmagenta
#8B008B
ΔE00 7.04
Indigo
#4B0082
ΔE00 7.64
Darkish Purple
#751973
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2196 #4B9621
analogous
#322196 #6C2196 #962185
triadic
#6C2196 #966C21 #21966C
tetradic
#6C2196 #963221 #4B9621 #218596
square
#6C2196 #963221 #4B9621 #218596
split-complementary
#6C2196 #859621 #219632
monochromatic
#240B32 #481664 #6C2196 #902CC8 #AB57DA
Accessibility & contrast
On white
9.15
#6C2196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6C2196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2196
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2196 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#663D5B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6c2196; /* rgb */ color: rgb(108, 33, 150); /* oklch */ color: oklch(42.5% 0.181 309.8);
Tailwind
colors: {
custom: {
50: '#9b65b6',
500: '#6c2196',
950: '#000000',
},
}SCSS
$custom: #6c2196; $custom-light: #9b65b6; $custom-dark: #000000;
JSON
{
"hex": "#6c2196",
"rgb": {
"r": 108,
"g": 33,
"b": 150
},
"hsl": {
"h": 278.462,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.42486,
"c": 0.18108,
"h": 309.8
},
"luminance": 0.06478
}Semantic roles & 50–950 ramp
primary
#6C2196
secondary
#7BBE55
accent
#E7417C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80