#643C9F#643C9F
#643C9F is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.154 H 298.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #643C9F |
|---|---|
| RGB | rgb(100, 60, 159) |
| HSL | hsl(264, 45%, 43%) |
| HSV | hsv(264, 62%, 62%) |
| CMYK | cmyk(37.1%, 62.3%, 0%, 37.6%) |
| CIE-LAB | lab(34.89, 39.10, -47.59) |
| CIE-LCH | lch(34.89, 61.59, 309.41°) |
| OKLab | oklab(45.55% 0.0741 -0.1352) |
| OKLCH | oklch(45.55% 0.154 298.7) |
| XYZ | xyz(13.1278, 8.4441, 33.7324) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.48
Ocean Blue
#4F42B5
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.28
Bluey Purple
#6241C7
ΔE00 6.43
Blueberry
#464196
ΔE00 6.57
Royal Purple
#7851A9
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643C9F #779F3C
analogous
#3C469F #643C9F #953C9F
triadic
#643C9F #9F643C #3C9F64
tetradic
#643C9F #9F3C46 #779F3C #3C9F95
square
#643C9F #9F3C46 #779F3C #3C9F95
split-complementary
#643C9F #9F953C #469F3C
monochromatic
#2C1A46 #482B73 #643C9F #8258C0 #A385D1
Accessibility & contrast
On white
7.81
#643C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#643C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #643C9F
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643C9F | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#13519D
Tritanopia (blue-blind)
#575168
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #643c9f; /* rgb */ color: rgb(100, 60, 159); /* oklch */ color: oklch(45.5% 0.154 298.7);
Tailwind
colors: {
custom: {
50: '#9474bc',
500: '#643c9f',
950: '#000000',
},
}SCSS
$custom: #643c9f; $custom-light: #9474bc; $custom-dark: #000000;
JSON
{
"hex": "#643c9f",
"rgb": {
"r": 100,
"g": 60,
"b": 159
},
"hsl": {
"h": 264.242,
"s": 45.205,
"l": 42.941
},
"oklch": {
"l": 0.45547,
"c": 0.15422,
"h": 298.7
},
"luminance": 0.08444
}Semantic roles & 50–950 ramp
primary
#643C9F
secondary
#A1BB7C
accent
#D553A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81