#6C46BF#6C46BF
#6C46BF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.180 H 293.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6C46BF |
|---|---|
| RGB | rgb(108, 70, 191) |
| HSL | hsl(259, 49%, 51%) |
| HSV | hsv(259, 63%, 75%) |
| CMYK | cmyk(43.5%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(40.13, 44.00, -58.07) |
| CIE-LCH | lch(40.13, 72.85, 307.15°) |
| OKLab | oklab(50.28% 0.0713 -0.1658) |
| OKLCH | oklch(50.28% 0.18 293.3) |
| XYZ | xyz(17.7759, 11.3295, 50.5304) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.45
Blue With A Hint Of Purple
#533CC6
ΔE00 4.80
Blurple
#5539CC
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 5.16
Bluish Purple
#703BE7
ΔE00 5.56
Iris
#6258C4
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C46BF #99BF46
analogous
#465CBF #6C46BF #A846BF
triadic
#6C46BF #BF6C46 #46BF6C
tetradic
#6C46BF #BF465C #99BF46 #46BFA8
square
#6C46BF #BF465C #99BF46 #46BFA8
split-complementary
#6C46BF #BFA846 #5CBF46
monochromatic
#392467 #523394 #6C46BF #9073CF #B4A1DE
Accessibility & contrast
On white
6.43
#6C46BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#6C46BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C46BF
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C46BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C46BF | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#55627C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6c46bf; /* rgb */ color: rgb(108, 70, 191); /* oklch */ color: oklch(50.3% 0.180 293.3);
Tailwind
colors: {
custom: {
50: '#9c7bd3',
500: '#6c46bf',
950: '#000000',
},
}SCSS
$custom: #6c46bf; $custom-light: #9c7bd3; $custom-dark: #000000;
JSON
{
"hex": "#6c46bf",
"rgb": {
"r": 108,
"g": 70,
"b": 191
},
"hsl": {
"h": 258.843,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.50277,
"c": 0.18049,
"h": 293.3
},
"luminance": 0.1133
}Semantic roles & 50–950 ramp
primary
#6C46BF
secondary
#BACB96
accent
#D850AD
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83