#6E1F97#6E1F97
#6E1F97 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.185 H 310.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6E1F97 |
|---|---|
| RGB | rgb(110, 31, 151) |
| HSL | hsl(280, 66%, 36%) |
| HSV | hsv(280, 79%, 59%) |
| CMYK | cmyk(27.2%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(30.71, 52.96, -49.42) |
| CIE-LCH | lch(30.71, 72.44, 316.98°) |
| OKLab | oklab(42.66% 0.1203 -0.1401) |
| OKLCH | oklch(42.66% 0.185 310.6) |
| XYZ | xyz(12.5052, 6.5296, 29.8737) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.98
Rebeccapurple
#663399
ΔE00 3.94
Purple
#800080
ΔE00 6.58
Darkmagenta
#8B008B
ΔE00 6.73
Darkish Purple
#751973
ΔE00 7.63
Indigo
#4B0082
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E1F97 #48971F
analogous
#321F97 #6E1F97 #971F84
triadic
#6E1F97 #976E1F #1F976E
tetradic
#6E1F97 #97321F #48971F #1F8497
square
#6E1F97 #97321F #48971F #1F8497
split-complementary
#6E1F97 #84971F #1F9732
monochromatic
#240A31 #491564 #6E1F97 #9329CA #AE54DC
Accessibility & contrast
On white
9.11
#6E1F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#6E1F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E1F97
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E1F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E1F97 | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#683D5B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6e1f97; /* rgb */ color: rgb(110, 31, 151); /* oklch */ color: oklch(42.7% 0.185 310.6);
Tailwind
colors: {
custom: {
50: '#9c65b6',
500: '#6e1f97',
950: '#000000',
},
}SCSS
$custom: #6e1f97; $custom-light: #9c65b6; $custom-dark: #000000;
JSON
{
"hex": "#6e1f97",
"rgb": {
"r": 110,
"g": 31,
"b": 151
},
"hsl": {
"h": 279.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.4266,
"c": 0.18469,
"h": 310.6
},
"luminance": 0.06529
}Semantic roles & 50–950 ramp
primary
#6E1F97
secondary
#78BF52
accent
#E93F79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80