#6E42D2#6E42D2
#6E42D2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.208 H 291.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #6E42D2 |
|---|---|
| RGB | rgb(110, 66, 210) |
| HSL | hsl(258, 62%, 54%) |
| HSV | hsv(258, 69%, 82%) |
| CMYK | cmyk(47.6%, 68.6%, 0%, 17.6%) |
| CIE-LAB | lab(41.00, 51.75, -67.67) |
| CIE-LCH | lch(41.00, 85.19, 307.41°) |
| OKLab | oklab(51.4% 0.0757 -0.194) |
| OKLCH | oklch(51.4% 0.208 291.3) |
| XYZ | xyz(20.0082, 11.8638, 62.1960) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.46
Bluish Purple
#703BE7
ΔE00 2.80
Burple
#6832E3
ΔE00 3.57
Purpleish Blue
#6140EF
ΔE00 3.99
Purpley Blue
#5F34E7
ΔE00 4.07
Blurple
#5539CC
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E42D2 #A6D242
analogous
#425ED2 #6E42D2 #B642D2
triadic
#6E42D2 #D26E42 #42D26E
tetradic
#6E42D2 #D2425E #A6D242 #42D2B6
square
#6E42D2 #D2425E #A6D242 #42D2B6
split-complementary
#6E42D2 #D2B642 #5ED242
monochromatic
#3A1E7C #5229AD #6E42D2 #9473DE #BAA5EA
Accessibility & contrast
On white
6.23
#6E42D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#6E42D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E42D2
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E42D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E42D2 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#4E6685
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6e42d2; /* rgb */ color: rgb(110, 66, 210); /* oklch */ color: oklch(51.4% 0.208 291.3);
Tailwind
colors: {
custom: {
50: '#a07ae1',
500: '#6e42d2',
950: '#000000',
},
}SCSS
$custom: #6e42d2; $custom-light: #a07ae1; $custom-dark: #000000;
JSON
{
"hex": "#6e42d2",
"rgb": {
"r": 110,
"g": 66,
"b": 210
},
"hsl": {
"h": 258.333,
"s": 61.538,
"l": 54.118
},
"oklch": {
"l": 0.51404,
"c": 0.20823,
"h": 291.3
},
"luminance": 0.11865
}Semantic roles & 50–950 ramp
primary
#6E42D2
secondary
#C4D799
accent
#E543B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83