#6C46CD#6C46CD
#6C46CD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.197 H 290.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #6C46CD |
|---|---|
| RGB | rgb(108, 70, 205) |
| HSL | hsl(257, 57%, 54%) |
| HSV | hsv(257, 66%, 80%) |
| CMYK | cmyk(47.3%, 65.9%, 0%, 19.6%) |
| CIE-LAB | lab(41.18, 47.89, -64.50) |
| CIE-LCH | lch(41.18, 80.34, 306.59°) |
| OKLab | oklab(51.36% 0.0698 -0.1847) |
| OKLCH | oklch(51.36% 0.197 290.7) |
| XYZ | xyz(19.3908, 11.9755, 59.0356) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.23
Bluish Purple
#703BE7
ΔE00 3.77
Purpleish Blue
#6140EF
ΔE00 4.55
Burple
#6832E3
ΔE00 4.56
Blurple
#5539CC
ΔE00 4.65
Blue With A Hint Of Purple
#533CC6
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C46CD #A7CD46
analogous
#4664CD #6C46CD #B046CD
triadic
#6C46CD #CD6C46 #46CD6C
tetradic
#6C46CD #CD4664 #A7CD46 #46CDB0
square
#6C46CD #CD4664 #A7CD46 #46CDB0
split-complementary
#6C46CD #CDB046 #64CD46
monochromatic
#392078 #502DA8 #6C46CD #9276DA #B9A6E7
Accessibility & contrast
On white
6.19
#6C46CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#6C46CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C46CD
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C46CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C46CD | 1.00 | 6.19 | 3.40 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#4D6783
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6c46cd; /* rgb */ color: rgb(108, 70, 205); /* oklch */ color: oklch(51.4% 0.197 290.7);
Tailwind
colors: {
custom: {
50: '#9e7cdd',
500: '#6c46cd',
950: '#000000',
},
}SCSS
$custom: #6c46cd; $custom-light: #9e7cdd; $custom-dark: #000000;
JSON
{
"hex": "#6c46cd",
"rgb": {
"r": 108,
"g": 70,
"b": 205
},
"hsl": {
"h": 256.889,
"s": 57.447,
"l": 53.922
},
"oklch": {
"l": 0.51362,
"c": 0.19749,
"h": 290.7
},
"luminance": 0.11976
}Semantic roles & 50–950 ramp
primary
#6C46CD
secondary
#C4D49B
accent
#E147B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83