#6E2296#6E2296
#6E2296 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.181 H 310.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2296 |
|---|---|
| RGB | rgb(110, 34, 150) |
| HSL | hsl(279, 63%, 36%) |
| HSV | hsv(279, 77%, 59%) |
| CMYK | cmyk(26.7%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(31.02, 51.63, -48.30) |
| CIE-LCH | lch(31.02, 70.70, 316.90°) |
| OKLab | oklab(42.86% 0.1178 -0.1369) |
| OKLCH | oklch(42.86% 0.181 310.7) |
| XYZ | xyz(12.5064, 6.6614, 29.4752) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.92
Rebeccapurple
#663399
ΔE00 3.60
Purple
#800080
ΔE00 6.58
Darkmagenta
#8B008B
ΔE00 6.71
Darkish Purple
#751973
ΔE00 7.49
Indigo
#4B0082
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2296 #4A9622
analogous
#342296 #6E2296 #962284
triadic
#6E2296 #966E22 #22966E
tetradic
#6E2296 #963422 #4A9622 #228496
square
#6E2296 #963422 #4A9622 #228496
split-complementary
#6E2296 #849622 #229634
monochromatic
#250B32 #491764 #6E2296 #932DC8 #AD59D9
Accessibility & contrast
On white
9.00
#6E2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6E2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2296
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2296 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#054A94
Tritanopia (blue-blind)
#693E5B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6e2296; /* rgb */ color: rgb(110, 34, 150); /* oklch */ color: oklch(42.9% 0.181 310.7);
Tailwind
colors: {
custom: {
50: '#9c66b6',
500: '#6e2296',
950: '#000000',
},
}SCSS
$custom: #6e2296; $custom-light: #9c66b6; $custom-dark: #000000;
JSON
{
"hex": "#6e2296",
"rgb": {
"r": 110,
"g": 34,
"b": 150
},
"hsl": {
"h": 279.31,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.42855,
"c": 0.18062,
"h": 310.7
},
"luminance": 0.06661
}Semantic roles & 50–950 ramp
primary
#6E2296
secondary
#7ABE56
accent
#E6427A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80