#6E1BA1#6E1BA1
#6E1BA1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.198 H 307.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6E1BA1 |
|---|---|
| RGB | rgb(110, 27, 161) |
| HSL | hsl(277, 71%, 37%) |
| HSV | hsv(277, 83%, 63%) |
| CMYK | cmyk(31.7%, 83.2%, 0%, 36.9%) |
| CIE-LAB | lab(31.05, 56.49, -54.97) |
| CIE-LCH | lch(31.05, 78.82, 315.78°) |
| OKLab | oklab(43.15% 0.1209 -0.1564) |
| OKLCH | oklch(43.15% 0.198 307.7) |
| XYZ | xyz(13.2540, 6.6723, 34.3010) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.57
Rebeccapurple
#663399
ΔE00 4.34
Violet Blue
#510AC9
ΔE00 7.43
Purple Blue
#5D21D0
ΔE00 7.46
Darkmagenta
#8B008B
ΔE00 7.70
Purple
#800080
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E1BA1 #4EA11B
analogous
#2B1BA1 #6E1BA1 #A11B91
triadic
#6E1BA1 #A16E1B #1BA16E
tetradic
#6E1BA1 #A12B1B #4EA11B #1B91A1
square
#6E1BA1 #A12B1B #4EA11B #1B91A1
split-complementary
#6E1BA1 #91A11B #1BA12B
monochromatic
#260938 #4A126D #6E1BA1 #9224D5 #AC54E2
Accessibility & contrast
On white
9.00
#6E1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6E1BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E1BA1
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E1BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E1BA1 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#654060
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6e1ba1; /* rgb */ color: rgb(110, 27, 161); /* oklch */ color: oklch(43.1% 0.198 307.7);
Tailwind
colors: {
custom: {
50: '#9d64be',
500: '#6e1ba1',
950: '#000000',
},
}SCSS
$custom: #6e1ba1; $custom-light: #9d64be; $custom-dark: #000000;
JSON
{
"hex": "#6e1ba1",
"rgb": {
"r": 110,
"g": 27,
"b": 161
},
"hsl": {
"h": 277.164,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.43146,
"c": 0.19769,
"h": 307.7
},
"luminance": 0.06672
}Semantic roles & 50–950 ramp
primary
#6E1BA1
secondary
#7EC552
accent
#EE3A7E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81