#6D46CE#6D46CE
#6D46CE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.199 H 291.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6D46CE |
|---|---|
| RGB | rgb(109, 70, 206) |
| HSL | hsl(257, 58%, 54%) |
| HSV | hsv(257, 66%, 81%) |
| CMYK | cmyk(47.1%, 66%, 0%, 19.2%) |
| CIE-LAB | lab(41.35, 48.36, -64.79) |
| CIE-LCH | lch(41.35, 80.84, 306.74°) |
| OKLab | oklab(51.54% 0.0711 -0.1855) |
| OKLCH | oklch(51.54% 0.199 291) |
| XYZ | xyz(19.6343, 12.0870, 59.6791) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.41
Bluish Purple
#703BE7
ΔE00 3.64
Purpleish Blue
#6140EF
ΔE00 4.48
Burple
#6832E3
ΔE00 4.52
Blurple
#5539CC
ΔE00 4.79
Blue With A Hint Of Purple
#533CC6
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D46CE #A7CE46
analogous
#4663CE #6D46CE #B146CE
triadic
#6D46CE #CE6D46 #46CE6D
tetradic
#6D46CE #CE4663 #A7CE46 #46CEB1
square
#6D46CE #CE4663 #A7CE46 #46CEB1
split-complementary
#6D46CE #CEB146 #63CE46
monochromatic
#3A2079 #512DAA #6D46CE #9376DB #B9A7E8
Accessibility & contrast
On white
6.14
#6D46CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#6D46CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D46CE
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D46CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D46CE | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#4E6784
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6d46ce; /* rgb */ color: rgb(109, 70, 206); /* oklch */ color: oklch(51.5% 0.199 291.0);
Tailwind
colors: {
custom: {
50: '#9f7cde',
500: '#6d46ce',
950: '#000000',
},
}SCSS
$custom: #6d46ce; $custom-light: #9f7cde; $custom-dark: #000000;
JSON
{
"hex": "#6d46ce",
"rgb": {
"r": 109,
"g": 70,
"b": 206
},
"hsl": {
"h": 257.206,
"s": 58.12,
"l": 54.118
},
"oklch": {
"l": 0.51537,
"c": 0.19868,
"h": 291
},
"luminance": 0.12088
}Semantic roles & 50–950 ramp
primary
#6D46CE
secondary
#C4D59B
accent
#E146B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83