#6E2EAB#6E2EAB
#6E2EAB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.188 H 302.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2EAB |
|---|---|
| RGB | rgb(110, 46, 171) |
| HSL | hsl(271, 58%, 43%) |
| HSV | hsv(271, 73%, 67%) |
| CMYK | cmyk(35.7%, 73.1%, 0%, 32.9%) |
| CIE-LAB | lab(34.41, 51.43, -55.51) |
| CIE-LCH | lch(34.41, 75.67, 312.81°) |
| OKLab | oklab(45.76% 0.1022 -0.1581) |
| OKLCH | oklch(45.76% 0.188 302.9) |
| XYZ | xyz(14.7564, 8.2092, 39.3273) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.12
Purple (survey)
#7E1E9C
ΔE00 4.87
Purple Blue
#5D21D0
ΔE00 6.17
Bluey Purple
#6241C7
ΔE00 6.59
Blurple
#5539CC
ΔE00 7.03
Blue With A Hint Of Purple
#533CC6
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2EAB #6BAB2E
analogous
#2F2EAB #6E2EAB #AB2EAA
triadic
#6E2EAB #AB6E2E #2EAB6E
tetradic
#6E2EAB #AB2F2E #6BAB2E #2EAAAB
square
#6E2EAB #AB2F2E #6BAB2E #2EAAAB
split-complementary
#6E2EAB #AAAB2E #2EAB2F
monochromatic
#30144B #4F217B #6E2EAB #8D48CE #AB79DB
Accessibility & contrast
On white
7.95
#6E2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#6E2EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2EAB
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2EAB | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#624D6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6e2eab; /* rgb */ color: rgb(110, 46, 171); /* oklch */ color: oklch(45.8% 0.188 302.9);
Tailwind
colors: {
custom: {
50: '#9d6dc5',
500: '#6e2eab',
950: '#000000',
},
}SCSS
$custom: #6e2eab; $custom-light: #9d6dc5; $custom-dark: #000000;
JSON
{
"hex": "#6e2eab",
"rgb": {
"r": 110,
"g": 46,
"b": 171
},
"hsl": {
"h": 270.72,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.45758,
"c": 0.18831,
"h": 302.9
},
"luminance": 0.08209
}Semantic roles & 50–950 ramp
primary
#6E2EAB
secondary
#99C372
accent
#E14792
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82