#6E2EAA#6E2EAA
#6E2EAA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.187 H 303.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2EAA |
|---|---|
| RGB | rgb(110, 46, 170) |
| HSL | hsl(271, 57%, 42%) |
| HSV | hsv(271, 73%, 67%) |
| CMYK | cmyk(35.3%, 72.9%, 0%, 33.3%) |
| CIE-LAB | lab(34.34, 51.18, -55.04) |
| CIE-LCH | lch(34.34, 75.16, 312.92°) |
| OKLab | oklab(45.68% 0.1024 -0.1567) |
| OKLCH | oklch(45.68% 0.187 303.2) |
| XYZ | xyz(14.6614, 8.1713, 38.8272) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.99
Purple (survey)
#7E1E9C
ΔE00 4.76
Purple Blue
#5D21D0
ΔE00 6.31
Bluey Purple
#6241C7
ΔE00 6.71
Blurple
#5539CC
ΔE00 7.16
Blue With A Hint Of Purple
#533CC6
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2EAA #6AAA2E
analogous
#302EAA #6E2EAA #AA2EA8
triadic
#6E2EAA #AA6E2E #2EAA6E
tetradic
#6E2EAA #AA302E #6AAA2E #2EA8AA
square
#6E2EAA #AA302E #6AAA2E #2EA8AA
split-complementary
#6E2EAA #A8AA2E #2EAA30
monochromatic
#30144A #4F217A #6E2EAA #8D48CD #AB78DA
Accessibility & contrast
On white
7.97
#6E2EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#6E2EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2EAA
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2EAA | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#624C69
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6e2eaa; /* rgb */ color: rgb(110, 46, 170); /* oklch */ color: oklch(45.7% 0.187 303.2);
Tailwind
colors: {
custom: {
50: '#9d6dc4',
500: '#6e2eaa',
950: '#000000',
},
}SCSS
$custom: #6e2eaa; $custom-light: #9d6dc4; $custom-dark: #000000;
JSON
{
"hex": "#6e2eaa",
"rgb": {
"r": 110,
"g": 46,
"b": 170
},
"hsl": {
"h": 270.968,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.45679,
"c": 0.18724,
"h": 303.2
},
"luminance": 0.08171
}Semantic roles & 50–950 ramp
primary
#6E2EAA
secondary
#99C371
accent
#E14791
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82