#6646DC#6646DC
#6646DC is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.0% C 0.216 H 286.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6646DC |
|---|---|
| RGB | rgb(102, 70, 220) |
| HSL | hsl(253, 68%, 57%) |
| HSV | hsv(253, 68%, 86%) |
| CMYK | cmyk(53.6%, 68.2%, 0%, 13.7%) |
| CIE-LAB | lab(41.80, 51.12, -72.13) |
| CIE-LCH | lch(41.80, 88.41, 305.33°) |
| OKLab | oklab(52.04% 0.0594 -0.2073) |
| OKLCH | oklch(52.04% 0.216 286) |
| XYZ | xyz(20.5840, 12.3713, 68.9995) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.48
Bluish Purple
#703BE7
ΔE00 2.78
Bluey Purple
#6241C7
ΔE00 3.29
Purpley Blue
#5F34E7
ΔE00 3.81
Burple
#6832E3
ΔE00 3.93
Blurple
#5539CC
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6646DC #BCDC46
analogous
#4671DC #6646DC #B146DC
triadic
#6646DC #DC6646 #46DC66
tetradic
#6646DC #DC4671 #BCDC46 #46DCB1
square
#6646DC #DC4671 #BCDC46 #46DCB1
split-complementary
#6646DC #DCB146 #71DC46
monochromatic
#331B8D #4624C0 #6646DC #9179E6 #BBADEF
Accessibility & contrast
On white
6.04
#6646DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#6646DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6646DC
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6646DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6646DC | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#346D8C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6646dc; /* rgb */ color: rgb(102, 70, 220); /* oklch */ color: oklch(52.0% 0.216 286.0);
Tailwind
colors: {
custom: {
50: '#9c7ce8',
500: '#6646dc',
950: '#000000',
},
}SCSS
$custom: #6646dc; $custom-light: #9c7ce8; $custom-dark: #000000;
JSON
{
"hex": "#6646dc",
"rgb": {
"r": 102,
"g": 70,
"b": 220
},
"hsl": {
"h": 252.8,
"s": 68.182,
"l": 56.863
},
"oklch": {
"l": 0.52045,
"c": 0.21567,
"h": 286
},
"luminance": 0.12372
}Semantic roles & 50–950 ramp
primary
#6646DC
secondary
#D0DDA0
accent
#EB3DC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84