#6C46CF#6C46CF
#6C46CF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.200 H 290.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6C46CF |
|---|---|
| RGB | rgb(108, 70, 207) |
| HSL | hsl(257, 59%, 54%) |
| HSV | hsv(257, 66%, 81%) |
| CMYK | cmyk(47.8%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(41.33, 48.45, -65.41) |
| CIE-LCH | lch(41.33, 81.40, 306.53°) |
| OKLab | oklab(51.52% 0.0696 -0.1874) |
| OKLCH | oklch(51.52% 0.2 290.4) |
| XYZ | xyz(19.6338, 12.0727, 60.3151) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.35
Bluish Purple
#703BE7
ΔE00 3.54
Purpleish Blue
#6140EF
ΔE00 4.29
Burple
#6832E3
ΔE00 4.43
Blurple
#5539CC
ΔE00 4.68
Purpley Blue
#5F34E7
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C46CF #A9CF46
analogous
#4665CF #6C46CF #B046CF
triadic
#6C46CF #CF6C46 #46CF6C
tetradic
#6C46CF #CF4665 #A9CF46 #46CFB0
square
#6C46CF #CF4665 #A9CF46 #46CFB0
split-complementary
#6C46CF #CFB046 #65CF46
monochromatic
#39207B #502CAB #6C46CF #9377DC #B9A7E8
Accessibility & contrast
On white
6.15
#6C46CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#6C46CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C46CF
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C46CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C46CF | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#4C6885
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6c46cf; /* rgb */ color: rgb(108, 70, 207); /* oklch */ color: oklch(51.5% 0.200 290.4);
Tailwind
colors: {
custom: {
50: '#9e7cdf',
500: '#6c46cf',
950: '#000000',
},
}SCSS
$custom: #6c46cf; $custom-light: #9e7cdf; $custom-dark: #000000;
JSON
{
"hex": "#6c46cf",
"rgb": {
"r": 108,
"g": 70,
"b": 207
},
"hsl": {
"h": 256.642,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.51522,
"c": 0.19988,
"h": 290.4
},
"luminance": 0.12073
}Semantic roles & 50–950 ramp
primary
#6C46CF
secondary
#C5D59B
accent
#E246B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83