#641F9F#641F9F
#641F9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.190 H 303.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #641F9F |
|---|---|
| RGB | rgb(100, 31, 159) |
| HSL | hsl(272, 67%, 37%) |
| HSV | hsv(272, 81%, 62%) |
| CMYK | cmyk(37.1%, 80.5%, 0%, 37.6%) |
| CIE-LAB | lab(29.89, 53.03, -55.70) |
| CIE-LCH | lch(29.89, 76.91, 313.59°) |
| OKLab | oklab(41.98% 0.104 -0.1589) |
| OKLCH | oklch(41.98% 0.19 303.2) |
| XYZ | xyz(12.0020, 6.1925, 33.3571) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.98
Purple (survey)
#7E1E9C
ΔE00 5.17
Violet Blue
#510AC9
ΔE00 6.68
Indigo
#4B0082
ΔE00 6.94
Indigo Blue
#3A18B1
ΔE00 6.98
Purple Blue
#5D21D0
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#641F9F #5A9F1F
analogous
#241F9F #641F9F #9F1F9A
triadic
#641F9F #9F641F #1F9F64
tetradic
#641F9F #9F241F #5A9F1F #1F9A9F
square
#641F9F #9F241F #5A9F1F #1F9A9F
split-complementary
#641F9F #9A9F1F #1F9F24
monochromatic
#240B39 #44156C #641F9F #8429D2 #A15ADF
Accessibility & contrast
On white
9.38
#641F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#641F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #641F9F
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##641F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##641F9F | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#58425F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #641f9f; /* rgb */ color: rgb(100, 31, 159); /* oklch */ color: oklch(42.0% 0.190 303.2);
Tailwind
colors: {
custom: {
50: '#9664bc',
500: '#641f9f',
950: '#000000',
},
}SCSS
$custom: #641f9f; $custom-light: #9664bc; $custom-dark: #000000;
JSON
{
"hex": "#641f9f",
"rgb": {
"r": 100,
"g": 31,
"b": 159
},
"hsl": {
"h": 272.344,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.41984,
"c": 0.18994,
"h": 303.2
},
"luminance": 0.06193
}Semantic roles & 50–950 ramp
primary
#641F9F
secondary
#89C357
accent
#EA3E8D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81