#6E51F4#6E51F4
#6E51F4 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.231 H 284.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6E51F4 |
|---|---|
| RGB | rgb(110, 81, 244) |
| HSL | hsl(251, 88%, 64%) |
| HSV | hsv(251, 67%, 96%) |
| CMYK | cmyk(54.9%, 66.8%, 0%, 4.3%) |
| CIE-LAB | lab(46.62, 53.40, -77.80) |
| CIE-LCH | lch(46.62, 94.37, 304.46°) |
| OKLab | oklab(56.28% 0.0571 -0.2237) |
| OKLCH | oklch(56.28% 0.231 284.3) |
| XYZ | xyz(25.6970, 15.7300, 87.2525) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.64
Purpley
#8756E4
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 5.24
Bluish Purple
#703BE7
ΔE00 5.50
Slate Blue
#6A5ACD
ΔE00 5.57
Dark Periwinkle
#665FD1
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E51F4 #D7F451
analogous
#5185F4 #6E51F4 #BF51F4
triadic
#6E51F4 #F46E51 #51F46E
tetradic
#6E51F4 #F45185 #D7F451 #51F4BF
square
#6E51F4 #F45185 #D7F451 #51F4BF
split-complementary
#6E51F4 #F4BF51 #85F451
monochromatic
#2C0CBF #3E17F0 #6E51F4 #9E8BF8 #CEC4FB
Accessibility & contrast
On white
5.06
#6E51F4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#6E51F4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E51F4
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E51F4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E51F4 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#2E7B9C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6e51f4; /* rgb */ color: rgb(110, 81, 244); /* oklch */ color: oklch(56.3% 0.231 284.3);
Tailwind
colors: {
custom: {
50: '#a384f9',
500: '#6e51f4',
950: '#000000',
},
}SCSS
$custom: #6e51f4; $custom-light: #a384f9; $custom-dark: #000000;
JSON
{
"hex": "#6e51f4",
"rgb": {
"r": 110,
"g": 81,
"b": 244
},
"hsl": {
"h": 250.675,
"s": 88.108,
"l": 63.725
},
"oklch": {
"l": 0.56278,
"c": 0.23091,
"h": 284.3
},
"luminance": 0.15732
}Semantic roles & 50–950 ramp
primary
#6E51F4
secondary
#E3EDB4
accent
#E501BC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85