#6742E1#6742E1
#6742E1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.226 H 286.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6742E1 |
|---|---|
| RGB | rgb(103, 66, 225) |
| HSL | hsl(254, 73%, 57%) |
| HSV | hsv(254, 71%, 88%) |
| CMYK | cmyk(54.2%, 70.7%, 0%, 11.8%) |
| CIE-LAB | lab(41.56, 54.80, -75.38) |
| CIE-LCH | lch(41.56, 93.20, 306.02°) |
| OKLab | oklab(52.02% 0.0632 -0.2168) |
| OKLCH | oklch(52.02% 0.226 286.3) |
| XYZ | xyz(21.1283, 12.2151, 72.4640) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.78
Bluish Purple
#703BE7
ΔE00 1.87
Purpley Blue
#5F34E7
ΔE00 2.96
Burple
#6832E3
ΔE00 3.05
Bluey Purple
#6241C7
ΔE00 3.61
Blurple
#5539CC
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6742E1 #BCE142
analogous
#426DE1 #6742E1 #B642E1
triadic
#6742E1 #E16742 #42E167
tetradic
#6742E1 #E1426D #BCE142 #42E1B6
square
#6742E1 #E1426D #BCE142 #42E1B6
split-complementary
#6742E1 #E1B642 #6DE142
monochromatic
#341792 #461FC6 #6742E1 #9177E9 #BCACF2
Accessibility & contrast
On white
6.10
#6742E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#6742E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6742E1
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6742E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6742E1 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#326C8D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6742e1; /* rgb */ color: rgb(103, 66, 225); /* oklch */ color: oklch(52.0% 0.226 286.3);
Tailwind
colors: {
custom: {
50: '#9e7aec',
500: '#6742e1',
950: '#000000',
},
}SCSS
$custom: #6742e1; $custom-light: #9e7aec; $custom-dark: #000000;
JSON
{
"hex": "#6742e1",
"rgb": {
"r": 103,
"g": 66,
"b": 225
},
"hsl": {
"h": 253.962,
"s": 72.603,
"l": 57.059
},
"oklch": {
"l": 0.52022,
"c": 0.22585,
"h": 286.3
},
"luminance": 0.12216
}Semantic roles & 50–950 ramp
primary
#6742E1
secondary
#D1E09F
accent
#EF38C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84