#645A7A#645A7A
#645A7A is a mid, muted violet. Relative luminance 0.114; OKLCH L 49.0% C 0.052 H 298.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #645A7A |
|---|---|
| RGB | rgb(100, 90, 122) |
| HSL | hsl(259, 15%, 42%) |
| HSV | hsv(259, 26%, 48%) |
| CMYK | cmyk(18%, 26.2%, 0%, 52.2%) |
| CIE-LAB | lab(40.29, 11.12, -16.56) |
| CIE-LCH | lch(40.29, 19.95, 303.88°) |
| OKLab | oklab(48.95% 0.0249 -0.0454) |
| OKLCH | oklch(48.95% 0.052 298.8) |
| XYZ | xyz(12.4238, 11.4267, 19.9596) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purplish Grey
#7A687F
ΔE00 7.26
Dusk
#4E5481
ΔE00 7.60
Muted Purple
#805B87
ΔE00 8.40
Dusty Purple
#825F87
ΔE00 8.51
Grey Purple
#826D8C
ΔE00 8.98
Twilight
#4E518B
ΔE00 9.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645A7A #707A5A
analogous
#5A607A #645A7A #745A7A
triadic
#645A7A #7A645A #5A7A64
tetradic
#645A7A #7A5A60 #707A5A #5A7A74
square
#645A7A #7A5A60 #707A5A #5A7A74
split-complementary
#645A7A #7A745A #607A5A
monochromatic
#2A2634 #474057 #645A7A #82779A #A29AB4
Accessibility & contrast
On white
6.39
#645A7A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#645A7A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645A7A
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645A7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645A7A | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535F7B
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#605F65
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #645a7a; /* rgb */ color: rgb(100, 90, 122); /* oklch */ color: oklch(49.0% 0.052 298.8);
Tailwind
colors: {
custom: {
50: '#9088a0',
500: '#645a7a',
950: '#000000',
},
}SCSS
$custom: #645a7a; $custom-light: #9088a0; $custom-dark: #000000;
JSON
{
"hex": "#645a7a",
"rgb": {
"r": 100,
"g": 90,
"b": 122
},
"hsl": {
"h": 258.75,
"s": 15.094,
"l": 41.569
},
"oklch": {
"l": 0.48953,
"c": 0.05176,
"h": 298.8
},
"luminance": 0.11427
}Semantic roles & 50–950 ramp
primary
#645A7A
secondary
#9CA38D
accent
#B870A1
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E