#6F42D6#6F42D6
#6F42D6 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.213 H 291.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6F42D6 |
|---|---|
| RGB | rgb(111, 66, 214) |
| HSL | hsl(258, 64%, 55%) |
| HSV | hsv(258, 69%, 84%) |
| CMYK | cmyk(48.1%, 69.2%, 0%, 16.1%) |
| CIE-LAB | lab(41.42, 53.01, -69.28) |
| CIE-LCH | lch(41.42, 87.23, 307.43°) |
| OKLab | oklab(51.83% 0.0764 -0.1986) |
| OKLCH | oklch(51.83% 0.213 291) |
| XYZ | xyz(20.6379, 12.1302, 64.8592) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.32
Bluey Purple
#6241C7
ΔE00 2.93
Burple
#6832E3
ΔE00 3.41
Purpleish Blue
#6140EF
ΔE00 3.58
Purpley Blue
#5F34E7
ΔE00 3.90
Blurple
#5539CC
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F42D6 #A9D642
analogous
#425FD6 #6F42D6 #B942D6
triadic
#6F42D6 #D66F42 #42D66F
tetradic
#6F42D6 #D6425F #A9D642 #42D6B9
square
#6F42D6 #D6425F #A9D642 #42D6B9
split-complementary
#6F42D6 #D6B942 #5FD642
monochromatic
#3B1C82 #5227B4 #6F42D6 #9574E1 #BCA7EC
Accessibility & contrast
On white
6.13
#6F42D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#6F42D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F42D6
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F42D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F42D6 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#4D6887
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6f42d6; /* rgb */ color: rgb(111, 66, 214); /* oklch */ color: oklch(51.8% 0.213 291.0);
Tailwind
colors: {
custom: {
50: '#a17ae4',
500: '#6f42d6',
950: '#000000',
},
}SCSS
$custom: #6f42d6; $custom-light: #a17ae4; $custom-dark: #000000;
JSON
{
"hex": "#6f42d6",
"rgb": {
"r": 111,
"g": 66,
"b": 214
},
"hsl": {
"h": 258.243,
"s": 64.348,
"l": 54.902
},
"oklch": {
"l": 0.5183,
"c": 0.21285,
"h": 291
},
"luminance": 0.12131
}Semantic roles & 50–950 ramp
primary
#6F42D6
secondary
#C6D99B
accent
#E740B5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84