#6E2BA6#6E2BA6
#6E2BA6 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.187 H 304.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2BA6 |
|---|---|
| RGB | rgb(110, 43, 166) |
| HSL | hsl(273, 59%, 41%) |
| HSV | hsv(273, 74%, 65%) |
| CMYK | cmyk(33.7%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(33.55, 51.56, -53.91) |
| CIE-LCH | lch(33.55, 74.60, 313.73°) |
| OKLab | oklab(45.03% 0.1061 -0.1534) |
| OKLCH | oklch(45.03% 0.187 304.7) |
| XYZ | xyz(14.1757, 7.7960, 36.8270) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.76
Purple (survey)
#7E1E9C
ΔE00 4.14
Purple Blue
#5D21D0
ΔE00 6.76
Bluey Purple
#6241C7
ΔE00 7.54
Violet Blue
#510AC9
ΔE00 7.74
Blurple
#5539CC
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2BA6 #63A62B
analogous
#302BA6 #6E2BA6 #A62BA0
triadic
#6E2BA6 #A66E2B #2BA66E
tetradic
#6E2BA6 #A6302B #63A62B #2BA0A6
square
#6E2BA6 #A6302B #63A62B #2BA0A6
split-complementary
#6E2BA6 #A0A62B #2BA630
monochromatic
#2E1245 #4E1E75 #6E2BA6 #8D41CE #AA71DA
Accessibility & contrast
On white
8.21
#6E2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#6E2BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2BA6
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2BA6 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#634966
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6e2ba6; /* rgb */ color: rgb(110, 43, 166); /* oklch */ color: oklch(45.0% 0.187 304.7);
Tailwind
colors: {
custom: {
50: '#9d6bc1',
500: '#6e2ba6',
950: '#000000',
},
}SCSS
$custom: #6e2ba6; $custom-light: #9d6bc1; $custom-dark: #000000;
JSON
{
"hex": "#6e2ba6",
"rgb": {
"r": 110,
"g": 43,
"b": 166
},
"hsl": {
"h": 272.683,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.45028,
"c": 0.18654,
"h": 304.7
},
"luminance": 0.07796
}Semantic roles & 50–950 ramp
primary
#6E2BA6
secondary
#93C16B
accent
#E2468D
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81