#643F9C#643F9C
#643F9C is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.8% C 0.146 H 298.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #643F9C |
|---|---|
| RGB | rgb(100, 63, 156) |
| HSL | hsl(264, 42%, 43%) |
| HSV | hsv(264, 60%, 61%) |
| CMYK | cmyk(35.9%, 59.6%, 0%, 38.8%) |
| CIE-LAB | lab(35.33, 36.58, -45.07) |
| CIE-LCH | lch(35.33, 58.04, 309.06°) |
| OKLab | oklab(45.8% 0.0705 -0.1278) |
| OKLCH | oklch(45.8% 0.146 298.9) |
| XYZ | xyz(13.0323, 8.6645, 32.4319) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.11
Darkslateblue
#483D8B
ΔE00 5.98
Royal Purple
#7851A9
ΔE00 6.24
Ocean Blue
#4F42B5
ΔE00 6.28
Blueberry
#464196
ΔE00 6.34
Bluey Purple
#6241C7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643F9C #779C3F
analogous
#3F489C #643F9C #923F9C
triadic
#643F9C #9C643F #3F9C64
tetradic
#643F9C #9C3F48 #779C3F #3F9C92
square
#643F9C #9C3F48 #779C3F #3F9C92
split-complementary
#643F9C #9C923F #489C3F
monochromatic
#2C1C45 #482D70 #643F9C #825BBD #A387CE
Accessibility & contrast
On white
7.68
#643F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#643F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #643F9C
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643F9C | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#1F529A
Tritanopia (blue-blind)
#585267
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #643f9c; /* rgb */ color: rgb(100, 63, 156); /* oklch */ color: oklch(45.8% 0.146 298.9);
Tailwind
colors: {
custom: {
50: '#9476ba',
500: '#643f9c',
950: '#000000',
},
}SCSS
$custom: #643f9c; $custom-light: #9476ba; $custom-dark: #000000;
JSON
{
"hex": "#643f9c",
"rgb": {
"r": 100,
"g": 63,
"b": 156
},
"hsl": {
"h": 263.871,
"s": 42.466,
"l": 42.941
},
"oklch": {
"l": 0.45802,
"c": 0.14598,
"h": 298.9
},
"luminance": 0.08665
}Semantic roles & 50–950 ramp
primary
#643F9C
secondary
#A1B97E
accent
#D256A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0812
muted
#7E7B81