#6E51E9#6E51E9
#6E51E9 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.218 H 285.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #6E51E9 |
|---|---|
| RGB | rgb(110, 81, 233) |
| HSL | hsl(251, 78%, 62%) |
| HSV | hsv(251, 65%, 91%) |
| CMYK | cmyk(52.8%, 65.2%, 0%, 8.6%) |
| CIE-LAB | lab(45.75, 50.22, -73.04) |
| CIE-LCH | lch(45.75, 88.64, 304.51°) |
| OKLab | oklab(55.38% 0.0585 -0.2098) |
| OKLCH | oklch(55.38% 0.218 285.6) |
| XYZ | xyz(24.0764, 15.0818, 78.7174) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.13
Purpleish Blue
#6140EF
ΔE00 4.30
Slate Blue
#6A5ACD
ΔE00 4.45
Purpley
#8756E4
ΔE00 4.50
Bluish Purple
#703BE7
ΔE00 4.96
Dark Periwinkle
#665FD1
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E51E9 #CCE951
analogous
#5180E9 #6E51E9 #BA51E9
triadic
#6E51E9 #E96E51 #51E96E
tetradic
#6E51E9 #E95180 #CCE951 #51E9BA
square
#6E51E9 #E95180 #CCE951 #51E9BA
split-complementary
#6E51E9 #E9BA51 #80E951
monochromatic
#3216AA #421CE0 #6E51E9 #9B87F0 #C9BEF7
Accessibility & contrast
On white
5.23
#6E51E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#6E51E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E51E9
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E51E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E51E9 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#3B7796
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6e51e9; /* rgb */ color: rgb(110, 81, 233); /* oklch */ color: oklch(55.4% 0.218 285.6);
Tailwind
colors: {
custom: {
50: '#a284f1',
500: '#6e51e9',
950: '#000000',
},
}SCSS
$custom: #6e51e9; $custom-light: #a284f1; $custom-dark: #000000;
JSON
{
"hex": "#6e51e9",
"rgb": {
"r": 110,
"g": 81,
"b": 233
},
"hsl": {
"h": 251.447,
"s": 77.551,
"l": 61.569
},
"oklch": {
"l": 0.55379,
"c": 0.21778,
"h": 285.6
},
"luminance": 0.15083
}Semantic roles & 50–950 ramp
primary
#6E51E9
secondary
#DCE7AF
accent
#DA0CB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85