#6E31E2#6E31E2
#6E31E2 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.8% C 0.243 H 290.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #6E31E2 |
|---|---|
| RGB | rgb(110, 49, 226) |
| HSL | hsl(261, 75%, 54%) |
| HSV | hsv(261, 78%, 89%) |
| CMYK | cmyk(51.3%, 78.3%, 0%, 11.4%) |
| CIE-LAB | lab(39.58, 63.89, -79.16) |
| CIE-LCH | lch(39.58, 101.73, 308.91°) |
| OKLab | oklab(50.83% 0.0855 -0.2275) |
| OKLCH | oklch(50.83% 0.243 290.6) |
| XYZ | xyz(21.2522, 11.0017, 72.9405) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Burple
#6832E3
ΔE00 0.83
Purpley Blue
#5F34E7
ΔE00 2.06
Bluish Purple
#703BE7
ΔE00 2.12
Purply Blue
#661AEE
ΔE00 3.06
Purplish Blue
#601EF9
ΔE00 3.42
Purpleish Blue
#6140EF
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E31E2 #A5E231
analogous
#314DE2 #6E31E2 #C731E2
triadic
#6E31E2 #E26E31 #31E26E
tetradic
#6E31E2 #E2314D #A5E231 #31E2C7
square
#6E31E2 #E2314D #A5E231 #31E2C7
split-complementary
#6E31E2 #E2C731 #4DE231
monochromatic
#3A1386 #521ABB #6E31E2 #9467EA #BA9CF1
Accessibility & contrast
On white
6.56
#6E31E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#6E31E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E31E2
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E31E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E31E2 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060E7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#44648A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #6e31e2; /* rgb */ color: rgb(110, 49, 226); /* oklch */ color: oklch(50.8% 0.243 290.6);
Tailwind
colors: {
custom: {
50: '#a371ec',
500: '#6e31e2',
950: '#000000',
},
}SCSS
$custom: #6e31e2; $custom-light: #a371ec; $custom-dark: #000000;
JSON
{
"hex": "#6e31e2",
"rgb": {
"r": 110,
"g": 49,
"b": 226
},
"hsl": {
"h": 260.678,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.50828,
"c": 0.24309,
"h": 290.6
},
"luminance": 0.11003
}Semantic roles & 50–950 ramp
primary
#6E31E2
secondary
#C3DD92
accent
#F236B1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84