#6C2296#6C2296
#6C2296 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.180 H 309.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2296 |
|---|---|
| RGB | rgb(108, 34, 150) |
| HSL | hsl(278, 63%, 36%) |
| HSV | hsv(278, 77%, 59%) |
| CMYK | cmyk(28%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(30.72, 51.24, -48.81) |
| CIE-LCH | lch(30.72, 70.77, 316.40°) |
| OKLab | oklab(42.58% 0.1151 -0.1384) |
| OKLCH | oklch(42.58% 0.18 309.7) |
| XYZ | xyz(12.2603, 6.5345, 29.4637) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.29
Rebeccapurple
#663399
ΔE00 3.48
Purple
#800080
ΔE00 6.86
Darkmagenta
#8B008B
ΔE00 7.07
Darkish Purple
#751973
ΔE00 7.71
Indigo
#4B0082
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2296 #4C9622
analogous
#322296 #6C2296 #962286
triadic
#6C2296 #966C22 #22966C
tetradic
#6C2296 #963222 #4C9622 #228696
square
#6C2296 #963222 #4C9622 #228696
split-complementary
#6C2296 #869622 #229632
monochromatic
#240B32 #481764 #6C2296 #902DC8 #AB59D9
Accessibility & contrast
On white
9.10
#6C2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#6C2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2296
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2296 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#663E5B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6c2296; /* rgb */ color: rgb(108, 34, 150); /* oklch */ color: oklch(42.6% 0.180 309.7);
Tailwind
colors: {
custom: {
50: '#9b66b6',
500: '#6c2296',
950: '#000000',
},
}SCSS
$custom: #6c2296; $custom-light: #9b66b6; $custom-dark: #000000;
JSON
{
"hex": "#6c2296",
"rgb": {
"r": 108,
"g": 34,
"b": 150
},
"hsl": {
"h": 278.276,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.42581,
"c": 0.18,
"h": 309.7
},
"luminance": 0.06534
}Semantic roles & 50–950 ramp
primary
#6C2296
secondary
#7CBE56
accent
#E6427D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80