#645C76#645C76
#645C76 is a mid, muted violet. Relative luminance 0.117; OKLCH L 49.2% C 0.042 H 298.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #645C76 |
|---|---|
| RGB | rgb(100, 92, 118) |
| HSL | hsl(258, 12%, 41%) |
| HSV | hsv(258, 22%, 46%) |
| CMYK | cmyk(15.3%, 22%, 0%, 53.7%) |
| CIE-LAB | lab(40.69, 8.91, -13.51) |
| CIE-LCH | lch(40.69, 16.18, 303.42°) |
| OKLab | oklab(49.21% 0.0203 -0.0368) |
| OKLCH | oklch(49.21% 0.042 298.9) |
| XYZ | xyz(12.3520, 11.6716, 18.7381) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purplish Grey
#7A687F
ΔE00 6.61
Dusk
#4E5481
ΔE00 8.64
Grey Purple
#826D8C
ΔE00 9.05
Dusty Purple
#825F87
ΔE00 9.57
Muted Purple
#805B87
ΔE00 9.73
Purple Grey
#866F85
ΔE00 10.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645C76 #6E765C
analogous
#5C6176 #645C76 #715C76
triadic
#645C76 #76645C #5C7664
tetradic
#645C76 #765C61 #6E765C #5C7671
square
#645C76 #765C61 #6E765C #5C7671
split-complementary
#645C76 #76715C #61765C
monochromatic
#2A2631 #474154 #645C76 #827996 #A29BB1
Accessibility & contrast
On white
6.30
#645C76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#645C76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645C76
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645C76 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576077
Deuteranopia (green-blind)
#586075
Tritanopia (blue-blind)
#616065
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #645c76; /* rgb */ color: rgb(100, 92, 118); /* oklch */ color: oklch(49.2% 0.042 298.9);
Tailwind
colors: {
custom: {
50: '#908a9d',
500: '#645c76',
950: '#000000',
},
}SCSS
$custom: #645c76; $custom-light: #908a9d; $custom-dark: #000000;
JSON
{
"hex": "#645c76",
"rgb": {
"r": 100,
"g": 92,
"b": 118
},
"hsl": {
"h": 258.462,
"s": 12.381,
"l": 41.176
},
"oklch": {
"l": 0.4921,
"c": 0.04204,
"h": 298.9
},
"luminance": 0.11672
}Semantic roles & 50–950 ramp
primary
#645C76
secondary
#9AA08E
accent
#B573A1
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0B0E
muted
#7D7C7E