#643C9A#643C9A
#643C9A is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.148 H 300.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #643C9A |
|---|---|
| RGB | rgb(100, 60, 154) |
| HSL | hsl(266, 44%, 42%) |
| HSV | hsv(266, 61%, 60%) |
| CMYK | cmyk(35.1%, 61%, 0%, 39.6%) |
| CIE-LAB | lab(34.55, 37.76, -45.12) |
| CIE-LCH | lch(34.55, 58.83, 309.93°) |
| OKLab | oklab(45.19% 0.0743 -0.128) |
| OKLCH | oklch(45.19% 0.148 300.1) |
| XYZ | xyz(12.7027, 8.2740, 31.4934) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.29
Darkslateblue
#483D8B
ΔE00 6.09
Blueberry
#464196
ΔE00 6.67
Ocean Blue
#4F42B5
ΔE00 6.72
Royal Purple
#7851A9
ΔE00 6.87
Purple (survey)
#7E1E9C
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643C9A #729A3C
analogous
#3C439A #643C9A #933C9A
triadic
#643C9A #9A643C #3C9A64
tetradic
#643C9A #9A3C43 #729A3C #3C9A93
square
#643C9A #9A3C43 #729A3C #3C9A93
split-complementary
#643C9A #9A933C #439A3C
monochromatic
#2B1A42 #472B6E #643C9A #8256BD #A382CE
Accessibility & contrast
On white
7.91
#643C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#643C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #643C9A
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643C9A | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03519D
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#595065
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #643c9a; /* rgb */ color: rgb(100, 60, 154); /* oklch */ color: oklch(45.2% 0.148 300.1);
Tailwind
colors: {
custom: {
50: '#9474b8',
500: '#643c9a',
950: '#000000',
},
}SCSS
$custom: #643c9a; $custom-light: #9474b8; $custom-dark: #000000;
JSON
{
"hex": "#643c9a",
"rgb": {
"r": 100,
"g": 60,
"b": 154
},
"hsl": {
"h": 265.532,
"s": 43.925,
"l": 41.961
},
"oklch": {
"l": 0.45187,
"c": 0.148,
"h": 300.1
},
"luminance": 0.08274
}Semantic roles & 50–950 ramp
primary
#643C9A
secondary
#9EB87A
accent
#D4549D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80