#6E1BA6#6E1BA6
#6E1BA6 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.202 H 306.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6E1BA6 |
|---|---|
| RGB | rgb(110, 27, 166) |
| HSL | hsl(276, 72%, 38%) |
| HSV | hsv(276, 84%, 65%) |
| CMYK | cmyk(33.7%, 83.7%, 0%, 34.9%) |
| CIE-LAB | lab(31.47, 57.58, -57.31) |
| CIE-LCH | lch(31.47, 81.24, 315.14°) |
| OKLab | oklab(43.57% 0.1194 -0.1633) |
| OKLCH | oklch(43.57% 0.202 306.2) |
| XYZ | xyz(13.7037, 6.8522, 36.6697) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.98
Rebeccapurple
#663399
ΔE00 4.51
Purple Blue
#5D21D0
ΔE00 6.71
Violet Blue
#510AC9
ΔE00 6.79
Indigo Blue
#3A18B1
ΔE00 8.07
Darkviolet
#9400D3
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E1BA6 #53A61B
analogous
#281BA6 #6E1BA6 #A61B99
triadic
#6E1BA6 #A66E1B #1BA66E
tetradic
#6E1BA6 #A6281B #53A61B #1B99A6
square
#6E1BA6 #A6281B #53A61B #1B99A6
split-complementary
#6E1BA6 #99A61B #1BA628
monochromatic
#280A3D #4B1271 #6E1BA6 #9124DB #AB58E4
Accessibility & contrast
On white
8.86
#6E1BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#6E1BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E1BA6
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E1BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E1BA6 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#644263
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6e1ba6; /* rgb */ color: rgb(110, 27, 166); /* oklch */ color: oklch(43.6% 0.202 306.2);
Tailwind
colors: {
custom: {
50: '#9e64c1',
500: '#6e1ba6',
950: '#000000',
},
}SCSS
$custom: #6e1ba6; $custom-light: #9e64c1; $custom-dark: #000000;
JSON
{
"hex": "#6e1ba6",
"rgb": {
"r": 110,
"g": 27,
"b": 166
},
"hsl": {
"h": 275.827,
"s": 72.021,
"l": 37.843
},
"oklch": {
"l": 0.43566,
"c": 0.2023,
"h": 306.2
},
"luminance": 0.06852
}Semantic roles & 50–950 ramp
primary
#6E1BA6
secondary
#83C756
accent
#EF3982
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81