#641F96#641F96
#641F96 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.181 H 306.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #641F96 |
|---|---|
| RGB | rgb(100, 31, 150) |
| HSL | hsl(275, 66%, 35%) |
| HSV | hsv(275, 79%, 59%) |
| CMYK | cmyk(33.3%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(29.14, 50.93, -51.44) |
| CIE-LCH | lch(29.14, 72.39, 314.72°) |
| OKLab | oklab(41.22% 0.1064 -0.1464) |
| OKLCH | oklch(41.22% 0.181 306) |
| XYZ | xyz(11.2493, 5.8914, 29.3928) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.88
Purple (survey)
#7E1E9C
ΔE00 4.86
Indigo
#4B0082
ΔE00 6.35
Indigo Blue
#3A18B1
ΔE00 7.91
Purple
#800080
ΔE00 7.98
Violet Blue
#510AC9
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#641F96 #51961F
analogous
#281F96 #641F96 #961F8C
triadic
#641F96 #96641F #1F9664
tetradic
#641F96 #96281F #51961F #1F8C96
square
#641F96 #96281F #51961F #1F8C96
split-complementary
#641F96 #8C961F #1F9628
monochromatic
#200A31 #421563 #641F96 #8629C9 #A354DC
Accessibility & contrast
On white
9.64
#641F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#641F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #641F96
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##641F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##641F96 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#5B3E5A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #641f96; /* rgb */ color: rgb(100, 31, 150); /* oklch */ color: oklch(41.2% 0.181 306.0);
Tailwind
colors: {
custom: {
50: '#9563b6',
500: '#641f96',
950: '#000000',
},
}SCSS
$custom: #641f96; $custom-light: #9563b6; $custom-dark: #000000;
JSON
{
"hex": "#641f96",
"rgb": {
"r": 100,
"g": 31,
"b": 150
},
"hsl": {
"h": 274.79,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.41221,
"c": 0.181,
"h": 306
},
"luminance": 0.05891
}Semantic roles & 50–950 ramp
primary
#641F96
secondary
#80BF52
accent
#E93F86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80