#6E2BAB#6E2BAB
#6E2BAB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.192 H 303.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2BAB |
|---|---|
| RGB | rgb(110, 43, 171) |
| HSL | hsl(271, 60%, 42%) |
| HSV | hsv(271, 75%, 67%) |
| CMYK | cmyk(35.7%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(33.95, 52.75, -56.27) |
| CIE-LCH | lch(33.95, 77.13, 313.15°) |
| OKLab | oklab(45.43% 0.1051 -0.1603) |
| OKLCH | oklch(45.43% 0.192 303.2) |
| XYZ | xyz(14.6432, 7.9830, 39.2896) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.31
Purple (survey)
#7E1E9C
ΔE00 4.66
Purple Blue
#5D21D0
ΔE00 6.04
Bluey Purple
#6241C7
ΔE00 6.93
Blurple
#5539CC
ΔE00 7.21
Violet Blue
#510AC9
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2BAB #68AB2B
analogous
#2E2BAB #6E2BAB #AB2BA8
triadic
#6E2BAB #AB6E2B #2BAB6E
tetradic
#6E2BAB #AB2E2B #68AB2B #2BA8AB
square
#6E2BAB #AB2E2B #68AB2B #2BA8AB
split-complementary
#6E2BAB #A8AB2B #2BAB2E
monochromatic
#2F1249 #4F1F7A #6E2BAB #8D43D0 #AB74DC
Accessibility & contrast
On white
8.09
#6E2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#6E2BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2BAB
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2BAB | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#624B69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6e2bab; /* rgb */ color: rgb(110, 43, 171); /* oklch */ color: oklch(45.4% 0.192 303.2);
Tailwind
colors: {
custom: {
50: '#9d6bc5',
500: '#6e2bab',
950: '#000000',
},
}SCSS
$custom: #6e2bab; $custom-light: #9d6bc5; $custom-dark: #000000;
JSON
{
"hex": "#6e2bab",
"rgb": {
"r": 110,
"g": 43,
"b": 171
},
"hsl": {
"h": 271.406,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.45428,
"c": 0.19172,
"h": 303.2
},
"luminance": 0.07983
}Semantic roles & 50–950 ramp
primary
#6E2BAB
secondary
#97C46E
accent
#E34590
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82