#645992#645992
#645992 is a mid, moderate violet. Relative luminance 0.119; OKLCH L 49.9% C 0.090 H 291.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #645992 |
|---|---|
| RGB | rgb(100, 89, 146) |
| HSL | hsl(252, 24%, 46%) |
| HSV | hsv(252, 39%, 57%) |
| CMYK | cmyk(31.5%, 39%, 0%, 42.7%) |
| CIE-LAB | lab(41.10, 18.02, -29.86) |
| CIE-LCH | lch(41.10, 34.87, 301.11°) |
| OKLab | oklab(49.93% 0.0332 -0.0834) |
| OKLCH | oklch(49.93% 0.09 291.7) |
| XYZ | xyz(14.0149, 11.9291, 28.7527) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.34
Dusk
#4E5481
ΔE00 5.85
Royal Purple
#7851A9
ΔE00 7.19
Dark Lavender
#856798
ΔE00 9.13
Dusky Blue
#475F94
ΔE00 9.13
Muted Purple
#805B87
ΔE00 9.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645992 #879259
analogous
#596A92 #645992 #805992
triadic
#645992 #926459 #599264
tetradic
#645992 #92596A #879259 #599280
square
#645992 #92596A #879259 #599280
split-complementary
#645992 #928059 #6A9259
monochromatic
#302B46 #4A426C #645992 #847AAE #A7A0C5
Accessibility & contrast
On white
6.20
#645992 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#645992 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645992
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645992 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486294
Deuteranopia (green-blind)
#496091
Tritanopia (blue-blind)
#59636E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #645992; /* rgb */ color: rgb(100, 89, 146); /* oklch */ color: oklch(49.9% 0.090 291.7);
Tailwind
colors: {
custom: {
50: '#9288b2',
500: '#645992',
950: '#000000',
},
}SCSS
$custom: #645992; $custom-light: #9288b2; $custom-dark: #000000;
JSON
{
"hex": "#645992",
"rgb": {
"r": 100,
"g": 89,
"b": 146
},
"hsl": {
"h": 251.579,
"s": 24.255,
"l": 46.078
},
"oklch": {
"l": 0.49934,
"c": 0.08977,
"h": 291.7
},
"luminance": 0.11929
}Semantic roles & 50–950 ramp
primary
#645992
secondary
#ADB394
accent
#C167AF
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80