#6F42CF#6F42CF
#6F42CF is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.3% C 0.205 H 292.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6F42CF |
|---|---|
| RGB | rgb(111, 66, 207) |
| HSL | hsl(259, 59%, 54%) |
| HSV | hsv(259, 68%, 81%) |
| CMYK | cmyk(46.4%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(40.86, 51.11, -66.15) |
| CIE-LCH | lch(40.86, 83.60, 307.69°) |
| OKLab | oklab(51.26% 0.0776 -0.1895) |
| OKLCH | oklch(51.26% 0.205 292.3) |
| XYZ | xyz(19.7631, 11.7803, 60.2519) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.39
Bluish Purple
#703BE7
ΔE00 3.17
Burple
#6832E3
ΔE00 3.83
Purpley Blue
#5F34E7
ΔE00 4.39
Purpleish Blue
#6140EF
ΔE00 4.44
Blurple
#5539CC
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F42CF #A2CF42
analogous
#425BCF #6F42CF #B542CF
triadic
#6F42CF #CF6F42 #42CF6F
tetradic
#6F42CF #CF425B #A2CF42 #42CFB5
square
#6F42CF #CF425B #A2CF42 #42CFB5
split-complementary
#6F42CF #CFB542 #5BCF42
monochromatic
#3B1F78 #532BA9 #6F42CF #9473DB #B9A4E8
Accessibility & contrast
On white
6.26
#6F42CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#6F42CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F42CF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F42CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F42CF | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#526583
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6f42cf; /* rgb */ color: rgb(111, 66, 207); /* oklch */ color: oklch(51.3% 0.205 292.3);
Tailwind
colors: {
custom: {
50: '#a07adf',
500: '#6f42cf',
950: '#000000',
},
}SCSS
$custom: #6f42cf; $custom-light: #a07adf; $custom-dark: #000000;
JSON
{
"hex": "#6f42cf",
"rgb": {
"r": 111,
"g": 66,
"b": 207
},
"hsl": {
"h": 259.149,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.51258,
"c": 0.20475,
"h": 292.3
},
"luminance": 0.11781
}Semantic roles & 50–950 ramp
primary
#6F42CF
secondary
#C1D598
accent
#E345B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83