#6643DC#6643DC
#6643DC is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.219 H 286.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #6643DC |
|---|---|
| RGB | rgb(102, 67, 220) |
| HSL | hsl(254, 69%, 56%) |
| HSV | hsv(254, 70%, 86%) |
| CMYK | cmyk(53.6%, 69.5%, 0%, 13.7%) |
| CIE-LAB | lab(41.22, 52.71, -73.07) |
| CIE-LCH | lch(41.22, 90.10, 305.81°) |
| OKLab | oklab(51.63% 0.062 -0.2101) |
| OKLCH | oklch(51.63% 0.219 286.4) |
| XYZ | xyz(20.4011, 12.0053, 68.9385) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.34
Bluish Purple
#703BE7
ΔE00 2.36
Bluey Purple
#6241C7
ΔE00 3.00
Purpley Blue
#5F34E7
ΔE00 3.18
Burple
#6832E3
ΔE00 3.25
Blurple
#5539CC
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6643DC #B9DC43
analogous
#436DDC #6643DC #B243DC
triadic
#6643DC #DC6643 #43DC66
tetradic
#6643DC #DC436D #B9DC43 #43DCB2
square
#6643DC #DC436D #B9DC43 #43DCB2
split-complementary
#6643DC #DCB243 #6DDC43
monochromatic
#341A8B #4723BE #6643DC #9077E6 #BAAAEF
Accessibility & contrast
On white
6.17
#6643DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#6643DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6643DC
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6643DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6643DC | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#346B8B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6643dc; /* rgb */ color: rgb(102, 67, 220); /* oklch */ color: oklch(51.6% 0.219 286.4);
Tailwind
colors: {
custom: {
50: '#9d7ae8',
500: '#6643dc',
950: '#000000',
},
}SCSS
$custom: #6643dc; $custom-light: #9d7ae8; $custom-dark: #000000;
JSON
{
"hex": "#6643dc",
"rgb": {
"r": 102,
"g": 67,
"b": 220
},
"hsl": {
"h": 253.725,
"s": 68.61,
"l": 56.275
},
"oklch": {
"l": 0.51633,
"c": 0.21904,
"h": 286.4
},
"luminance": 0.12006
}Semantic roles & 50–950 ramp
primary
#6643DC
secondary
#CEDD9E
accent
#EB3CC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84