#6E2AAC#6E2AAC
#6E2AAC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.194 H 303.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2AAC |
|---|---|
| RGB | rgb(110, 42, 172) |
| HSL | hsl(271, 61%, 42%) |
| HSV | hsv(271, 76%, 67%) |
| CMYK | cmyk(36%, 75.6%, 0%, 32.5%) |
| CIE-LAB | lab(33.88, 53.42, -56.98) |
| CIE-LCH | lch(33.88, 78.11, 313.15°) |
| OKLab | oklab(45.4% 0.1058 -0.1624) |
| OKLCH | oklch(45.4% 0.194 303.1) |
| XYZ | xyz(14.7030, 7.9495, 39.7815) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.51
Purple (survey)
#7E1E9C
ΔE00 4.71
Purple Blue
#5D21D0
ΔE00 5.86
Bluey Purple
#6241C7
ΔE00 6.94
Violet Blue
#510AC9
ΔE00 7.03
Blurple
#5539CC
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2AAC #68AC2A
analogous
#2D2AAC #6E2AAC #AC2AA9
triadic
#6E2AAC #AC6E2A #2AAC6E
tetradic
#6E2AAC #AC2D2A #68AC2A #2AA9AC
square
#6E2AAC #AC2D2A #68AC2A #2AA9AC
split-complementary
#6E2AAC #A9AC2A #2AAC2D
monochromatic
#2F124A #4F1E7B #6E2AAC #8D42D1 #AB73DD
Accessibility & contrast
On white
8.11
#6E2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6E2AAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2AAC
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2AAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2AAC | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#614B69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6e2aac; /* rgb */ color: rgb(110, 42, 172); /* oklch */ color: oklch(45.4% 0.194 303.1);
Tailwind
colors: {
custom: {
50: '#9d6bc6',
500: '#6e2aac',
950: '#000000',
},
}SCSS
$custom: #6e2aac; $custom-light: #9d6bc6; $custom-dark: #000000;
JSON
{
"hex": "#6e2aac",
"rgb": {
"r": 110,
"g": 42,
"b": 172
},
"hsl": {
"h": 271.385,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.45404,
"c": 0.19386,
"h": 303.1
},
"luminance": 0.07949
}Semantic roles & 50–950 ramp
primary
#6E2AAC
secondary
#97C46D
accent
#E44490
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82