#6741E2#6741E2
#6741E2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.228 H 286.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6741E2 |
|---|---|
| RGB | rgb(103, 65, 226) |
| HSL | hsl(254, 74%, 57%) |
| HSV | hsv(254, 71%, 89%) |
| CMYK | cmyk(54.4%, 71.2%, 0%, 11.4%) |
| CIE-LAB | lab(41.46, 55.59, -76.11) |
| CIE-LCH | lch(41.46, 94.25, 306.14°) |
| OKLab | oklab(51.98% 0.0638 -0.2189) |
| OKLCH | oklch(51.98% 0.228 286.2) |
| XYZ | xyz(21.2072, 12.1540, 73.1652) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.67
Bluish Purple
#703BE7
ΔE00 1.71
Purpley Blue
#5F34E7
ΔE00 2.77
Burple
#6832E3
ΔE00 2.86
Bluey Purple
#6241C7
ΔE00 3.68
Blurple
#5539CC
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6741E2 #BCE241
analogous
#416CE2 #6741E2 #B741E2
triadic
#6741E2 #E26741 #41E267
tetradic
#6741E2 #E2416C #BCE241 #41E2B7
square
#6741E2 #E2416C #BCE241 #41E2B7
split-complementary
#6741E2 #E2B741 #6CE241
monochromatic
#341692 #461EC7 #6741E2 #9176EA #BCABF2
Accessibility & contrast
On white
6.12
#6741E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#6741E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6741E2
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6741E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6741E2 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#316C8D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6741e2; /* rgb */ color: rgb(103, 65, 226); /* oklch */ color: oklch(52.0% 0.228 286.2);
Tailwind
colors: {
custom: {
50: '#9e79ec',
500: '#6741e2',
950: '#000000',
},
}SCSS
$custom: #6741e2; $custom-light: #9e79ec; $custom-dark: #000000;
JSON
{
"hex": "#6741e2",
"rgb": {
"r": 103,
"g": 65,
"b": 226
},
"hsl": {
"h": 254.161,
"s": 73.516,
"l": 57.059
},
"oklch": {
"l": 0.5198,
"c": 0.22805,
"h": 286.2
},
"luminance": 0.12155
}Semantic roles & 50–950 ramp
primary
#6741E2
secondary
#D1E09F
accent
#F038C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84