#6F42CB#6F42CB
#6F42CB is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.9% C 0.200 H 293.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6F42CB |
|---|---|
| RGB | rgb(111, 66, 203) |
| HSL | hsl(260, 57%, 53%) |
| HSV | hsv(260, 67%, 80%) |
| CMYK | cmyk(45.3%, 67.5%, 0%, 20.4%) |
| CIE-LAB | lab(40.55, 50.02, -64.35) |
| CIE-LCH | lch(40.55, 81.51, 307.86°) |
| OKLab | oklab(50.94% 0.0782 -0.1842) |
| OKLCH | oklch(50.94% 0.2 293) |
| XYZ | xyz(19.2803, 11.5871, 57.7090) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.23
Bluish Purple
#703BE7
ΔE00 3.69
Burple
#6832E3
ΔE00 4.17
Blurple
#5539CC
ΔE00 4.53
Blue With A Hint Of Purple
#533CC6
ΔE00 4.68
Purpley Blue
#5F34E7
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F42CB #9ECB42
analogous
#425ACB #6F42CB #B342CB
triadic
#6F42CB #CB6F42 #42CB6F
tetradic
#6F42CB #CB425A #9ECB42 #42CBB3
square
#6F42CB #CB425A #9ECB42 #42CBB3
split-complementary
#6F42CB #CBB342 #5ACB42
monochromatic
#3B2073 #542DA3 #6F42CB #9472D8 #B8A2E5
Accessibility & contrast
On white
6.33
#6F42CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#6F42CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F42CB
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F42CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F42CB | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#546481
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6f42cb; /* rgb */ color: rgb(111, 66, 203); /* oklch */ color: oklch(50.9% 0.200 293.0);
Tailwind
colors: {
custom: {
50: '#a079dc',
500: '#6f42cb',
950: '#000000',
},
}SCSS
$custom: #6f42cb; $custom-light: #a079dc; $custom-dark: #000000;
JSON
{
"hex": "#6f42cb",
"rgb": {
"r": 111,
"g": 66,
"b": 203
},
"hsl": {
"h": 259.708,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.50937,
"c": 0.2001,
"h": 293
},
"luminance": 0.11588
}Semantic roles & 50–950 ramp
primary
#6F42CB
secondary
#BFD297
accent
#E048AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83