#6E1D9B#6E1D9B
#6E1D9B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.190 H 309.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6E1D9B |
|---|---|
| RGB | rgb(110, 29, 155) |
| HSL | hsl(279, 68%, 36%) |
| HSV | hsv(279, 81%, 61%) |
| CMYK | cmyk(29%, 81.3%, 0%, 39.2%) |
| CIE-LAB | lab(30.78, 54.53, -51.75) |
| CIE-LCH | lch(30.78, 75.17, 316.50°) |
| OKLab | oklab(42.81% 0.121 -0.147) |
| OKLCH | oklch(42.81% 0.19 309.5) |
| XYZ | xyz(12.7850, 6.5605, 31.5968) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.15
Rebeccapurple
#663399
ΔE00 4.08
Purple
#800080
ΔE00 7.05
Darkmagenta
#8B008B
ΔE00 7.10
Indigo
#4B0082
ΔE00 7.75
Darkish Purple
#751973
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E1D9B #4A9B1D
analogous
#2F1D9B #6E1D9B #9B1D89
triadic
#6E1D9B #9B6E1D #1D9B6E
tetradic
#6E1D9B #9B2F1D #4A9B1D #1D899B
square
#6E1D9B #9B2F1D #4A9B1D #1D899B
split-complementary
#6E1D9B #899B1D #1D9B2F
monochromatic
#250A34 #491367 #6E1D9B #9327CF #AD53DF
Accessibility & contrast
On white
9.08
#6E1D9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#6E1D9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E1D9B
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E1D9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E1D9B | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#673E5D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6e1d9b; /* rgb */ color: rgb(110, 29, 155); /* oklch */ color: oklch(42.8% 0.190 309.5);
Tailwind
colors: {
custom: {
50: '#9d64b9',
500: '#6e1d9b',
950: '#000000',
},
}SCSS
$custom: #6e1d9b; $custom-light: #9d64b9; $custom-dark: #000000;
JSON
{
"hex": "#6e1d9b",
"rgb": {
"r": 110,
"g": 29,
"b": 155
},
"hsl": {
"h": 278.571,
"s": 68.478,
"l": 36.078
},
"oklch": {
"l": 0.4281,
"c": 0.19036,
"h": 309.5
},
"luminance": 0.0656
}Semantic roles & 50–950 ramp
primary
#6E1D9B
secondary
#7AC252
accent
#EB3C7B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81