#643CB0#643CB0
#643CB0 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.175 H 294.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #643CB0 |
|---|---|
| RGB | rgb(100, 60, 176) |
| HSL | hsl(261, 49%, 46%) |
| HSV | hsv(261, 66%, 69%) |
| CMYK | cmyk(43.2%, 65.9%, 0%, 31%) |
| CIE-LAB | lab(36.13, 43.73, -55.76) |
| CIE-LCH | lch(36.13, 70.86, 308.11°) |
| OKLab | oklab(46.84% 0.0726 -0.1593) |
| OKLCH | oklch(46.84% 0.175 294.5) |
| XYZ | xyz(14.7058, 9.0753, 42.0428) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.73
Ocean Blue
#4F42B5
ΔE00 4.34
Blue With A Hint Of Purple
#533CC6
ΔE00 4.39
Rebeccapurple
#663399
ΔE00 4.45
Blurple
#5539CC
ΔE00 4.77
Purple Blue
#5D21D0
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643CB0 #88B03C
analogous
#3C4EB0 #643CB0 #9E3CB0
triadic
#643CB0 #B0643C #3CB064
tetradic
#643CB0 #B03C4E #88B03C #3CB09E
square
#643CB0 #B03C4E #88B03C #3CB09E
split-complementary
#643CB0 #B09E3C #4EB03C
monochromatic
#301D55 #4A2C82 #643CB0 #8460C9 #A88ED8
Accessibility & contrast
On white
7.46
#643CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#643CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #643CB0
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643CB0 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#4F5771
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #643cb0; /* rgb */ color: rgb(100, 60, 176); /* oklch */ color: oklch(46.8% 0.175 294.5);
Tailwind
colors: {
custom: {
50: '#9674c8',
500: '#643cb0',
950: '#000000',
},
}SCSS
$custom: #643cb0; $custom-light: #9674c8; $custom-dark: #000000;
JSON
{
"hex": "#643cb0",
"rgb": {
"r": 100,
"g": 60,
"b": 176
},
"hsl": {
"h": 260.69,
"s": 49.153,
"l": 46.275
},
"oklch": {
"l": 0.46835,
"c": 0.17506,
"h": 294.5
},
"luminance": 0.09076
}Semantic roles & 50–950 ramp
primary
#643CB0
secondary
#AEC385
accent
#D94FA9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82