#644F98#644F98
#644F98 is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.3% C 0.115 H 295.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #644F98 |
|---|---|
| RGB | rgb(100, 79, 152) |
| HSL | hsl(257, 32%, 45%) |
| HSV | hsv(257, 48%, 60%) |
| CMYK | cmyk(34.2%, 48%, 0%, 40.4%) |
| CIE-LAB | lab(38.84, 25.88, -37.04) |
| CIE-LCH | lch(38.84, 45.18, 304.94°) |
| OKLab | oklab(48.33% 0.0486 -0.1043) |
| OKLCH | oklch(48.33% 0.115 295) |
| XYZ | xyz(13.7176, 10.5681, 31.0168) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.79
Twilight
#4E518B
ΔE00 5.94
Blueberry
#464196
ΔE00 7.03
Darkslateblue
#483D8B
ΔE00 7.10
Dusk
#4E5481
ΔE00 7.75
Ocean Blue
#4F42B5
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#644F98 #83984F
analogous
#4F5E98 #644F98 #884F98
triadic
#644F98 #98644F #4F9864
tetradic
#644F98 #984F5E #83984F #4F9888
square
#644F98 #984F5E #83984F #4F9888
split-complementary
#644F98 #98884F #5E984F
monochromatic
#2F2547 #4A3A70 #644F98 #8370B5 #A698C9
Accessibility & contrast
On white
6.74
#644F98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#644F98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #644F98
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##644F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##644F98 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#585D6C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #644f98; /* rgb */ color: rgb(100, 79, 152); /* oklch */ color: oklch(48.3% 0.115 295.0);
Tailwind
colors: {
custom: {
50: '#9380b7',
500: '#644f98',
950: '#000000',
},
}SCSS
$custom: #644f98; $custom-light: #9380b7; $custom-dark: #000000;
JSON
{
"hex": "#644f98",
"rgb": {
"r": 100,
"g": 79,
"b": 152
},
"hsl": {
"h": 257.26,
"s": 31.602,
"l": 45.294
},
"oklch": {
"l": 0.48328,
"c": 0.1151,
"h": 295
},
"luminance": 0.10568
}Semantic roles & 50–950 ramp
primary
#644F98
secondary
#AAB68D
accent
#C860AA
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80