#6E1A9B#6E1A9B
#6E1A9B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.193 H 309.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #6E1A9B |
|---|---|
| RGB | rgb(110, 26, 155) |
| HSL | hsl(279, 71%, 35%) |
| HSV | hsv(279, 83%, 61%) |
| CMYK | cmyk(29%, 83.2%, 0%, 39.2%) |
| CIE-LAB | lab(30.45, 55.50, -52.29) |
| CIE-LCH | lch(30.45, 76.26, 316.71°) |
| OKLab | oklab(42.58% 0.1233 -0.1485) |
| OKLCH | oklch(42.58% 0.193 309.7) |
| XYZ | xyz(12.7150, 6.4206, 31.5735) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.27
Rebeccapurple
#663399
ΔE00 4.43
Purple
#800080
ΔE00 6.98
Darkmagenta
#8B008B
ΔE00 7.07
Indigo
#4B0082
ΔE00 7.53
Violet Blue
#510AC9
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E1A9B #479B1A
analogous
#2E1A9B #6E1A9B #9B1A87
triadic
#6E1A9B #9B6E1A #1A9B6E
tetradic
#6E1A9B #9B2E1A #479B1A #1A879B
square
#6E1A9B #9B2E1A #479B1A #1A879B
split-complementary
#6E1A9B #879B1A #1A9B2E
monochromatic
#240832 #491167 #6E1A9B #9323CF #AE4EE1
Accessibility & contrast
On white
9.19
#6E1A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#6E1A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E1A9B
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E1A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E1A9B | 1.00 | 9.19 | 2.28 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#673C5C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6e1a9b; /* rgb */ color: rgb(110, 26, 155); /* oklch */ color: oklch(42.6% 0.193 309.7);
Tailwind
colors: {
custom: {
50: '#9d63b9',
500: '#6e1a9b',
950: '#000000',
},
}SCSS
$custom: #6e1a9b; $custom-light: #9d63b9; $custom-dark: #000000;
JSON
{
"hex": "#6e1a9b",
"rgb": {
"r": 110,
"g": 26,
"b": 155
},
"hsl": {
"h": 279.07,
"s": 71.271,
"l": 35.49
},
"oklch": {
"l": 0.42576,
"c": 0.19303,
"h": 309.7
},
"luminance": 0.0642
}Semantic roles & 50–950 ramp
primary
#6E1A9B
secondary
#77C44D
accent
#EE3A79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81