#643EA1#643EA1
#643EA1 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.0% C 0.154 H 297.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #643EA1 |
|---|---|
| RGB | rgb(100, 62, 161) |
| HSL | hsl(263, 44%, 44%) |
| HSV | hsv(263, 61%, 63%) |
| CMYK | cmyk(37.9%, 61.5%, 0%, 36.9%) |
| CIE-LAB | lab(35.45, 38.51, -47.88) |
| CIE-LCH | lch(35.45, 61.45, 308.81°) |
| OKLab | oklab(46% 0.0716 -0.1361) |
| OKLCH | oklch(46% 0.154 297.7) |
| XYZ | xyz(13.4096, 8.7276, 34.6894) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.08
Ocean Blue
#4F42B5
ΔE00 5.62
Bluey Purple
#6241C7
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 6.26
Blueberry
#464196
ΔE00 6.37
Royal Purple
#7851A9
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643EA1 #7BA13E
analogous
#3E49A1 #643EA1 #953EA1
triadic
#643EA1 #A1643E #3EA164
tetradic
#643EA1 #A13E49 #7BA13E #3EA195
square
#643EA1 #A13E49 #7BA13E #3EA195
split-complementary
#643EA1 #A1953E #49A13E
monochromatic
#2D1C49 #492D75 #643EA1 #825CC0 #A488D1
Accessibility & contrast
On white
7.65
#643EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#643EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #643EA1
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643EA1 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#14529F
Tritanopia (blue-blind)
#565369
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #643ea1; /* rgb */ color: rgb(100, 62, 161); /* oklch */ color: oklch(46.0% 0.154 297.7);
Tailwind
colors: {
custom: {
50: '#9475bd',
500: '#643ea1',
950: '#000000',
},
}SCSS
$custom: #643ea1; $custom-light: #9475bd; $custom-dark: #000000;
JSON
{
"hex": "#643ea1",
"rgb": {
"r": 100,
"g": 62,
"b": 161
},
"hsl": {
"h": 263.03,
"s": 44.395,
"l": 43.725
},
"oklch": {
"l": 0.46002,
"c": 0.15378,
"h": 297.7
},
"luminance": 0.08728
}Semantic roles & 50–950 ramp
primary
#643EA1
secondary
#A4BC7F
accent
#D454A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81