#6D46CF#6D46CF
#6D46CF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.200 H 290.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6D46CF |
|---|---|
| RGB | rgb(109, 70, 207) |
| HSL | hsl(257, 59%, 54%) |
| HSV | hsv(257, 66%, 81%) |
| CMYK | cmyk(47.3%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(41.43, 48.63, -65.24) |
| CIE-LCH | lch(41.43, 81.37, 306.70°) |
| OKLab | oklab(51.62% 0.0709 -0.1869) |
| OKLCH | oklch(51.62% 0.2 290.8) |
| XYZ | xyz(19.7561, 12.1358, 60.3209) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.47
Bluish Purple
#703BE7
ΔE00 3.53
Purpleish Blue
#6140EF
ΔE00 4.35
Burple
#6832E3
ΔE00 4.46
Blurple
#5539CC
ΔE00 4.81
Purpley Blue
#5F34E7
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D46CF #A8CF46
analogous
#4664CF #6D46CF #B146CF
triadic
#6D46CF #CF6D46 #46CF6D
tetradic
#6D46CF #CF4664 #A8CF46 #46CFB1
square
#6D46CF #CF4664 #A8CF46 #46CFB1
split-complementary
#6D46CF #CFB146 #64CF46
monochromatic
#3A207B #512CAB #6D46CF #9377DC #BAA7E8
Accessibility & contrast
On white
6.13
#6D46CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#6D46CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D46CF
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D46CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D46CF | 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)
#0064D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#4E6885
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6d46cf; /* rgb */ color: rgb(109, 70, 207); /* oklch */ color: oklch(51.6% 0.200 290.8);
Tailwind
colors: {
custom: {
50: '#9f7cdf',
500: '#6d46cf',
950: '#000000',
},
}SCSS
$custom: #6d46cf; $custom-light: #9f7cdf; $custom-dark: #000000;
JSON
{
"hex": "#6d46cf",
"rgb": {
"r": 109,
"g": 70,
"b": 207
},
"hsl": {
"h": 257.08,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.51617,
"c": 0.19988,
"h": 290.8
},
"luminance": 0.12137
}Semantic roles & 50–950 ramp
primary
#6D46CF
secondary
#C5D59B
accent
#E246B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83