#6F46CE#6F46CE
#6F46CE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.199 H 291.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6F46CE |
|---|---|
| RGB | rgb(111, 70, 206) |
| HSL | hsl(258, 58%, 54%) |
| HSV | hsv(258, 66%, 81%) |
| CMYK | cmyk(46.1%, 66%, 0%, 19.2%) |
| CIE-LAB | lab(41.56, 48.73, -64.45) |
| CIE-LCH | lch(41.56, 80.80, 307.09°) |
| OKLab | oklab(51.73% 0.0738 -0.1845) |
| OKLCH | oklch(51.73% 0.199 291.8) |
| XYZ | xyz(19.8832, 12.2154, 59.6907) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.67
Bluish Purple
#703BE7
ΔE00 3.62
Burple
#6832E3
ΔE00 4.60
Purpleish Blue
#6140EF
ΔE00 4.61
Purpley Blue
#5F34E7
ΔE00 5.04
Blurple
#5539CC
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F46CE #A5CE46
analogous
#4661CE #6F46CE #B346CE
triadic
#6F46CE #CE6F46 #46CE6F
tetradic
#6F46CE #CE4661 #A5CE46 #46CEB3
square
#6F46CE #CE4661 #A5CE46 #46CEB3
split-complementary
#6F46CE #CEB346 #61CE46
monochromatic
#3B2079 #532DAA #6F46CE #9576DB #BAA7E8
Accessibility & contrast
On white
6.10
#6F46CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#6F46CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F46CE
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F46CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F46CE | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#526784
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6f46ce; /* rgb */ color: rgb(111, 70, 206); /* oklch */ color: oklch(51.7% 0.199 291.8);
Tailwind
colors: {
custom: {
50: '#a07cde',
500: '#6f46ce',
950: '#000000',
},
}SCSS
$custom: #6f46ce; $custom-light: #a07cde; $custom-dark: #000000;
JSON
{
"hex": "#6f46ce",
"rgb": {
"r": 111,
"g": 70,
"b": 206
},
"hsl": {
"h": 258.088,
"s": 58.12,
"l": 54.118
},
"oklch": {
"l": 0.51731,
"c": 0.1987,
"h": 291.8
},
"luminance": 0.12216
}Semantic roles & 50–950 ramp
primary
#6F46CE
secondary
#C3D59B
accent
#E146B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83