#643FAF#643FAF
#643FAF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.170 H 294.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #643FAF |
|---|---|
| RGB | rgb(100, 63, 175) |
| HSL | hsl(260, 47%, 47%) |
| HSV | hsv(260, 64%, 69%) |
| CMYK | cmyk(42.9%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(36.67, 41.79, -54.29) |
| CIE-LCH | lch(36.67, 68.52, 307.59°) |
| OKLab | oklab(47.2% 0.0694 -0.155) |
| OKLCH | oklch(47.2% 0.17 294.1) |
| XYZ | xyz(14.7688, 9.3591, 41.5775) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.69
Ocean Blue
#4F42B5
ΔE00 4.13
Blue With A Hint Of Purple
#533CC6
ΔE00 4.55
Rebeccapurple
#663399
ΔE00 4.74
Blurple
#5539CC
ΔE00 5.04
Royal Purple
#7851A9
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#643FAF #8AAF3F
analogous
#3F52AF #643FAF #9C3FAF
triadic
#643FAF #AF643F #3FAF64
tetradic
#643FAF #AF3F52 #8AAF3F #3FAF9C
square
#643FAF #AF3F52 #8AAF3F #3FAF9C
split-complementary
#643FAF #AF9C3F #52AF3F
monochromatic
#311F55 #4A2F82 #643FAF #8564C7 #A891D7
Accessibility & contrast
On white
7.31
#643FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#643FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #643FAF
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##643FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##643FAF | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#505971
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #643faf; /* rgb */ color: rgb(100, 63, 175); /* oklch */ color: oklch(47.2% 0.170 294.1);
Tailwind
colors: {
custom: {
50: '#9676c8',
500: '#643faf',
950: '#000000',
},
}SCSS
$custom: #643faf; $custom-light: #9676c8; $custom-dark: #000000;
JSON
{
"hex": "#643faf",
"rgb": {
"r": 100,
"g": 63,
"b": 175
},
"hsl": {
"h": 259.821,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.472,
"c": 0.16982,
"h": 294.1
},
"luminance": 0.09359
}Semantic roles & 50–950 ramp
primary
#643FAF
secondary
#AFC387
accent
#D751AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82