#6E2BAE#6E2BAE
#6E2BAE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.195 H 302.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2BAE |
|---|---|
| RGB | rgb(110, 43, 174) |
| HSL | hsl(271, 60%, 43%) |
| HSV | hsv(271, 75%, 68%) |
| CMYK | cmyk(36.8%, 75.3%, 0%, 31.8%) |
| CIE-LAB | lab(34.19, 53.47, -57.67) |
| CIE-LCH | lch(34.19, 78.65, 312.83°) |
| OKLab | oklab(45.67% 0.1044 -0.1645) |
| OKLCH | oklch(45.67% 0.195 302.4) |
| XYZ | xyz(14.9324, 8.0987, 40.8127) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.68
Purple (survey)
#7E1E9C
ΔE00 4.99
Purple Blue
#5D21D0
ΔE00 5.62
Bluey Purple
#6241C7
ΔE00 6.59
Blurple
#5539CC
ΔE00 6.83
Violet Blue
#510AC9
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2BAE #6BAE2B
analogous
#2C2BAE #6E2BAE #AE2BAD
triadic
#6E2BAE #AE6E2B #2BAE6E
tetradic
#6E2BAE #AE2C2B #6BAE2B #2BADAE
square
#6E2BAE #AE2C2B #6BAE2B #2BADAE
split-complementary
#6E2BAE #ADAE2B #2BAE2C
monochromatic
#30134C #4F1F7D #6E2BAE #8D45D1 #AB76DD
Accessibility & contrast
On white
8.02
#6E2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#6E2BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2BAE
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2BAE | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#604C6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6e2bae; /* rgb */ color: rgb(110, 43, 174); /* oklch */ color: oklch(45.7% 0.195 302.4);
Tailwind
colors: {
custom: {
50: '#9d6bc7',
500: '#6e2bae',
950: '#000000',
},
}SCSS
$custom: #6e2bae; $custom-light: #9d6bc7; $custom-dark: #000000;
JSON
{
"hex": "#6e2bae",
"rgb": {
"r": 110,
"g": 43,
"b": 174
},
"hsl": {
"h": 270.687,
"s": 60.369,
"l": 42.549
},
"oklch": {
"l": 0.45672,
"c": 0.19483,
"h": 302.4
},
"luminance": 0.08099
}Semantic roles & 50–950 ramp
primary
#6E2BAE
secondary
#99C570
accent
#E44492
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82