#6E2496#6E2496
#6E2496 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.178 H 310.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2496 |
|---|---|
| RGB | rgb(110, 36, 150) |
| HSL | hsl(279, 61%, 36%) |
| HSV | hsv(279, 76%, 59%) |
| CMYK | cmyk(26.7%, 76%, 0%, 41.2%) |
| CIE-LAB | lab(31.30, 50.84, -47.86) |
| CIE-LCH | lch(31.30, 69.82, 316.73°) |
| OKLab | oklab(43.05% 0.116 -0.1356) |
| OKLCH | oklch(43.05% 0.178 310.5) |
| XYZ | xyz(12.5652, 6.7790, 29.4948) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.92
Rebeccapurple
#663399
ΔE00 3.34
Purple
#800080
ΔE00 6.69
Darkmagenta
#8B008B
ΔE00 6.78
Darkish Purple
#751973
ΔE00 7.53
Indigo
#4B0082
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2496 #4C9624
analogous
#352496 #6E2496 #962485
triadic
#6E2496 #966E24 #24966E
tetradic
#6E2496 #963524 #4C9624 #248596
square
#6E2496 #963524 #4C9624 #248596
split-complementary
#6E2496 #859624 #249635
monochromatic
#260C33 #4A1865 #6E2496 #9230C7 #AD5CD8
Accessibility & contrast
On white
8.91
#6E2496 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6E2496 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2496
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2496 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2496 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#0A4B94
Tritanopia (blue-blind)
#693F5B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6e2496; /* rgb */ color: rgb(110, 36, 150); /* oklch */ color: oklch(43.0% 0.178 310.5);
Tailwind
colors: {
custom: {
50: '#9c67b6',
500: '#6e2496',
950: '#000000',
},
}SCSS
$custom: #6e2496; $custom-light: #9c67b6; $custom-dark: #000000;
JSON
{
"hex": "#6e2496",
"rgb": {
"r": 110,
"g": 36,
"b": 150
},
"hsl": {
"h": 278.947,
"s": 61.29,
"l": 36.471
},
"oklch": {
"l": 0.43049,
"c": 0.1784,
"h": 310.5
},
"luminance": 0.06779
}Semantic roles & 50–950 ramp
primary
#6E2496
secondary
#7CBD59
accent
#E4437C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80