#6646DB#6646DB
#6646DB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.214 H 286.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6646DB |
|---|---|
| RGB | rgb(102, 70, 219) |
| HSL | hsl(253, 67%, 57%) |
| HSV | hsv(253, 68%, 86%) |
| CMYK | cmyk(53.4%, 68%, 0%, 14.1%) |
| CIE-LAB | lab(41.72, 50.83, -71.69) |
| CIE-LCH | lch(41.72, 87.89, 305.34°) |
| OKLab | oklab(51.96% 0.0596 -0.206) |
| OKLCH | oklch(51.96% 0.214 286.1) |
| XYZ | xyz(20.4520, 12.3185, 68.3041) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.59
Bluish Purple
#703BE7
ΔE00 2.83
Bluey Purple
#6241C7
ΔE00 3.17
Purpley Blue
#5F34E7
ΔE00 3.83
Burple
#6832E3
ΔE00 3.94
Blurple
#5539CC
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6646DB #BBDB46
analogous
#4671DB #6646DB #B146DB
triadic
#6646DB #DB6646 #46DB66
tetradic
#6646DB #DB4671 #BBDB46 #46DBB1
square
#6646DB #DB4671 #BBDB46 #46DBB1
split-complementary
#6646DB #DBB146 #71DB46
monochromatic
#331B8B #4625BF #6646DB #9079E5 #BBACEF
Accessibility & contrast
On white
6.06
#6646DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#6646DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6646DB
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6646DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6646DB | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#356C8B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6646db; /* rgb */ color: rgb(102, 70, 219); /* oklch */ color: oklch(52.0% 0.214 286.1);
Tailwind
colors: {
custom: {
50: '#9c7ce7',
500: '#6646db',
950: '#000000',
},
}SCSS
$custom: #6646db; $custom-light: #9c7ce7; $custom-dark: #000000;
JSON
{
"hex": "#6646db",
"rgb": {
"r": 102,
"g": 70,
"b": 219
},
"hsl": {
"h": 252.886,
"s": 67.421,
"l": 56.667
},
"oklch": {
"l": 0.5196,
"c": 0.21449,
"h": 286.1
},
"luminance": 0.1232
}Semantic roles & 50–950 ramp
primary
#6646DB
secondary
#D0DDA0
accent
#EA3DC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84