#646172#646172
#646172 is a mid, muted violet. Relative luminance 0.125; OKLCH L 50.1% C 0.027 H 293.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #646172 |
|---|---|
| RGB | rgb(100, 97, 114) |
| HSL | hsl(251, 8%, 41%) |
| HSV | hsv(251, 15%, 45%) |
| CMYK | cmyk(12.3%, 14.9%, 0%, 55.3%) |
| CIE-LAB | lab(41.96, 4.90, -9.14) |
| CIE-LCH | lch(41.96, 10.37, 298.17°) |
| OKLab | oklab(50.15% 0.0107 -0.0247) |
| OKLCH | oklch(50.15% 0.027 293.5) |
| XYZ | xyz(12.5669, 12.4736, 17.6619) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Purplish Grey
#7A687F
ΔE00 7.76
Dimgray
#696969
ΔE00 9.55
Slate Grey
#59656D
ΔE00 10.33
Grey Purple
#826D8C
ΔE00 10.72
Purple Grey
#866F85
ΔE00 10.88
Dusk
#4E5481
ΔE00 10.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646172 #6F7261
analogous
#616772 #646172 #6D6172
triadic
#646172 #726461 #617264
tetradic
#646172 #726167 #6F7261 #61726D
square
#646172 #726167 #6F7261 #61726D
split-complementary
#646172 #726D61 #677261
monochromatic
#2A2930 #474551 #646172 #827F92 #A2A0AE
Accessibility & contrast
On white
6.01
#646172 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#646172 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646172
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646172 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6373
Deuteranopia (green-blind)
#5E6371
Tritanopia (blue-blind)
#616467
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #646172; /* rgb */ color: rgb(100, 97, 114); /* oklch */ color: oklch(50.1% 0.027 293.5);
Tailwind
colors: {
custom: {
50: '#908d9a',
500: '#646172',
950: '#000000',
},
}SCSS
$custom: #646172; $custom-light: #908d9a; $custom-dark: #000000;
JSON
{
"hex": "#646172",
"rgb": {
"r": 100,
"g": 97,
"b": 114
},
"hsl": {
"h": 250.588,
"s": 8.057,
"l": 41.373
},
"oklch": {
"l": 0.50148,
"c": 0.02694,
"h": 293.5
},
"luminance": 0.12474
}Semantic roles & 50–950 ramp
primary
#646172
secondary
#9B9D92
accent
#B177A7
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0C0E
muted
#7D7D7E