#6E2399#6E2399
#6E2399 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.182 H 309.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2399 |
|---|---|
| RGB | rgb(110, 35, 153) |
| HSL | hsl(278, 63%, 37%) |
| HSV | hsv(278, 77%, 60%) |
| CMYK | cmyk(28.1%, 77.1%, 0%, 40%) |
| CIE-LAB | lab(31.39, 51.90, -49.55) |
| CIE-LCH | lch(31.39, 71.75, 316.33°) |
| OKLab | oklab(43.18% 0.1163 -0.1405) |
| OKLCH | oklch(43.18% 0.182 309.6) |
| XYZ | xyz(12.7801, 6.8172, 30.7734) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.96
Rebeccapurple
#663399
ΔE00 3.35
Purple
#800080
ΔE00 7.02
Darkmagenta
#8B008B
ΔE00 7.03
Darkish Purple
#751973
ΔE00 8.00
Indigo
#4B0082
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2399 #4E9923
analogous
#332399 #6E2399 #992389
triadic
#6E2399 #996E23 #23996E
tetradic
#6E2399 #993323 #4E9923 #238999
square
#6E2399 #993323 #4E9923 #238999
split-complementary
#6E2399 #899923 #239933
monochromatic
#260C35 #4A1867 #6E2399 #922ECB #AC5DDA
Accessibility & contrast
On white
8.89
#6E2399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6E2399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2399
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2399 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#683F5D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6e2399; /* rgb */ color: rgb(110, 35, 153); /* oklch */ color: oklch(43.2% 0.182 309.6);
Tailwind
colors: {
custom: {
50: '#9c66b8',
500: '#6e2399',
950: '#000000',
},
}SCSS
$custom: #6e2399; $custom-light: #9c66b8; $custom-dark: #000000;
JSON
{
"hex": "#6e2399",
"rgb": {
"r": 110,
"g": 35,
"b": 153
},
"hsl": {
"h": 278.136,
"s": 62.766,
"l": 36.863
},
"oklch": {
"l": 0.43183,
"c": 0.18243,
"h": 309.6
},
"luminance": 0.06817
}Semantic roles & 50–950 ramp
primary
#6E2399
secondary
#7EBE59
accent
#E6427E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80