#6F46CF#6F46CF
#6F46CF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.200 H 291.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6F46CF |
|---|---|
| RGB | rgb(111, 70, 207) |
| HSL | hsl(258, 59%, 54%) |
| HSV | hsv(258, 66%, 81%) |
| CMYK | cmyk(46.4%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(41.63, 49.00, -64.90) |
| CIE-LCH | lch(41.63, 81.33, 307.05°) |
| OKLab | oklab(51.81% 0.0737 -0.1858) |
| OKLCH | oklch(51.81% 0.2 291.6) |
| XYZ | xyz(20.0050, 12.2641, 60.3325) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.72
Bluish Purple
#703BE7
ΔE00 3.51
Purpleish Blue
#6140EF
ΔE00 4.49
Burple
#6832E3
ΔE00 4.54
Purpley Blue
#5F34E7
ΔE00 4.96
Blurple
#5539CC
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F46CF #A6CF46
analogous
#4662CF #6F46CF #B346CF
triadic
#6F46CF #CF6F46 #46CF6F
tetradic
#6F46CF #CF4662 #A6CF46 #46CFB3
square
#6F46CF #CF4662 #A6CF46 #46CFB3
split-complementary
#6F46CF #CFB346 #62CF46
monochromatic
#3B207B #522CAB #6F46CF #9577DC #BBA7E8
Accessibility & contrast
On white
6.08
#6F46CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#6F46CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F46CF
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F46CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F46CF | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#526785
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6f46cf; /* rgb */ color: rgb(111, 70, 207); /* oklch */ color: oklch(51.8% 0.200 291.6);
Tailwind
colors: {
custom: {
50: '#a07cdf',
500: '#6f46cf',
950: '#000000',
},
}SCSS
$custom: #6f46cf; $custom-light: #a07cdf; $custom-dark: #000000;
JSON
{
"hex": "#6f46cf",
"rgb": {
"r": 111,
"g": 70,
"b": 207
},
"hsl": {
"h": 257.956,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.5181,
"c": 0.19989,
"h": 291.6
},
"luminance": 0.12265
}Semantic roles & 50–950 ramp
primary
#6F46CF
secondary
#C4D59B
accent
#E246B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83