#6F42CE#6F42CE
#6F42CE is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.204 H 292.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6F42CE |
|---|---|
| RGB | rgb(111, 66, 206) |
| HSL | hsl(259, 59%, 53%) |
| HSV | hsv(259, 68%, 81%) |
| CMYK | cmyk(46.1%, 68%, 0%, 19.2%) |
| CIE-LAB | lab(40.79, 50.84, -65.71) |
| CIE-LCH | lch(40.79, 83.08, 307.73°) |
| OKLab | oklab(51.18% 0.0778 -0.1882) |
| OKLCH | oklch(51.18% 0.204 292.5) |
| XYZ | xyz(19.6412, 11.7315, 59.6101) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.34
Bluish Purple
#703BE7
ΔE00 3.29
Burple
#6832E3
ΔE00 3.91
Purpley Blue
#5F34E7
ΔE00 4.48
Blurple
#5539CC
ΔE00 4.53
Purpleish Blue
#6140EF
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F42CE #A1CE42
analogous
#425BCE #6F42CE #B542CE
triadic
#6F42CE #CE6F42 #42CE6F
tetradic
#6F42CE #CE425B #A1CE42 #42CEB5
square
#6F42CE #CE425B #A1CE42 #42CEB5
split-complementary
#6F42CE #CEB542 #5BCE42
monochromatic
#3B1F77 #532BA7 #6F42CE #9473DB #B9A3E7
Accessibility & contrast
On white
6.28
#6F42CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#6F42CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F42CE
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F42CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F42CE | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#526583
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6f42ce; /* rgb */ color: rgb(111, 66, 206); /* oklch */ color: oklch(51.2% 0.204 292.5);
Tailwind
colors: {
custom: {
50: '#a07ade',
500: '#6f42ce',
950: '#000000',
},
}SCSS
$custom: #6f42ce; $custom-light: #a07ade; $custom-dark: #000000;
JSON
{
"hex": "#6f42ce",
"rgb": {
"r": 111,
"g": 66,
"b": 206
},
"hsl": {
"h": 259.286,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.51178,
"c": 0.20359,
"h": 292.5
},
"luminance": 0.11732
}Semantic roles & 50–950 ramp
primary
#6F42CE
secondary
#C1D498
accent
#E246B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83