#643F9F#643F9F
#643F9F is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.0% C 0.150 H 298.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #643F9F |
|---|---|
| RGB | rgb(100, 63, 159) |
| HSL | hsl(263, 43%, 44%) |
| HSV | hsv(263, 60%, 62%) |
| CMYK | cmyk(37.1%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(35.53, 37.39, -46.55) |
| CIE-LCH | lch(35.53, 59.71, 308.77°) |
| OKLab | oklab(46.02% 0.0704 -0.1322) |
| OKLCH | oklch(46.02% 0.15 298) |
| XYZ | xyz(13.2895, 8.7674, 33.7863) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.20
Ocean Blue
#4F42B5
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 6.11
Royal Purple
#7851A9
ΔE00 6.21
Blueberry
#464196
ΔE00 6.29
Bluey Purple
#6241C7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643F9F #7A9F3F
analogous
#3F4A9F #643F9F #943F9F
triadic
#643F9F #9F643F #3F9F64
tetradic
#643F9F #9F3F4A #7A9F3F #3F9F94
square
#643F9F #9F3F4A #7A9F3F #3F9F94
split-complementary
#643F9F #9F943F #4A9F3F
monochromatic
#2D1C47 #482E73 #643F9F #825DBF #A488D0
Accessibility & contrast
On white
7.63
#643F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#643F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #643F9F
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643F9F | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#1A539D
Tritanopia (blue-blind)
#575369
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #643f9f; /* rgb */ color: rgb(100, 63, 159); /* oklch */ color: oklch(46.0% 0.150 298.0);
Tailwind
colors: {
custom: {
50: '#9476bc',
500: '#643f9f',
950: '#000000',
},
}SCSS
$custom: #643f9f; $custom-light: #9476bc; $custom-dark: #000000;
JSON
{
"hex": "#643f9f",
"rgb": {
"r": 100,
"g": 63,
"b": 159
},
"hsl": {
"h": 263.125,
"s": 43.243,
"l": 43.529
},
"oklch": {
"l": 0.46015,
"c": 0.14978,
"h": 298
},
"luminance": 0.08768
}Semantic roles & 50–950 ramp
primary
#643F9F
secondary
#A4BB7F
accent
#D355A2
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81