#6646BF#6646BF
#6646BF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.180 H 290.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6646BF |
|---|---|
| RGB | rgb(102, 70, 191) |
| HSL | hsl(256, 49%, 51%) |
| HSV | hsv(256, 63%, 75%) |
| CMYK | cmyk(46.6%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(39.52, 42.78, -59.08) |
| CIE-LCH | lch(39.52, 72.94, 305.91°) |
| OKLab | oklab(49.69% 0.0631 -0.169) |
| OKLCH | oklch(49.69% 0.18 290.5) |
| XYZ | xyz(17.0710, 10.9661, 50.4973) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.80
Blue With A Hint Of Purple
#533CC6
ΔE00 3.93
Ocean Blue
#4F42B5
ΔE00 4.14
Blurple
#5539CC
ΔE00 4.34
Iris
#6258C4
ΔE00 5.45
Bluish Purple
#703BE7
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6646BF #9FBF46
analogous
#4662BF #6646BF #A246BF
triadic
#6646BF #BF6646 #46BF66
tetradic
#6646BF #BF4662 #9FBF46 #46BFA2
square
#6646BF #BF4662 #9FBF46 #46BFA2
split-complementary
#6646BF #BFA246 #62BF46
monochromatic
#352467 #4D3394 #6646BF #8C73CF #B1A1DE
Accessibility & contrast
On white
6.58
#6646BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#6646BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6646BF
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6646BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6646BF | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#4A637C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #6646bf; /* rgb */ color: rgb(102, 70, 191); /* oklch */ color: oklch(49.7% 0.180 290.5);
Tailwind
colors: {
custom: {
50: '#987bd3',
500: '#6646bf',
950: '#000000',
},
}SCSS
$custom: #6646bf; $custom-light: #987bd3; $custom-dark: #000000;
JSON
{
"hex": "#6646bf",
"rgb": {
"r": 102,
"g": 70,
"b": 191
},
"hsl": {
"h": 255.868,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.49693,
"c": 0.18039,
"h": 290.5
},
"luminance": 0.10967
}Semantic roles & 50–950 ramp
primary
#6646BF
secondary
#BDCB96
accent
#D850B4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83