#64589E#64589E
#64589E is a mid, moderate violet. Relative luminance 0.122; OKLCH L 50.4% C 0.109 H 289.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #64589E |
|---|---|
| RGB | rgb(100, 88, 158) |
| HSL | hsl(250, 28%, 48%) |
| HSV | hsv(250, 44%, 62%) |
| CMYK | cmyk(36.7%, 44.3%, 0%, 38%) |
| CIE-LAB | lab(41.46, 22.00, -36.48) |
| CIE-LCH | lch(41.46, 42.60, 301.09°) |
| OKLab | oklab(50.41% 0.0369 -0.1027) |
| OKLCH | oklch(50.41% 0.109 289.8) |
| XYZ | xyz(14.9152, 12.1570, 33.9018) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.46
Royal Purple
#7851A9
ΔE00 5.70
Iris
#6258C4
ΔE00 6.80
Dusk
#4E5481
ΔE00 6.95
Slate Blue
#6A5ACD
ΔE00 7.98
Light Indigo
#6D5ACF
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#64589E #929E58
analogous
#586F9E #64589E #87589E
triadic
#64589E #9E6458 #589E64
tetradic
#64589E #9E586F #929E58 #589E87
square
#64589E #9E586F #929E58 #589E87
split-complementary
#64589E #9E8758 #6F9E58
monochromatic
#322C4F #4B4277 #64589E #877DB6 #ABA4CC
Accessibility & contrast
On white
6.12
#64589E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#64589E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #64589E
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##64589E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##64589E | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4163A1
Deuteranopia (green-blind)
#41609C
Tritanopia (blue-blind)
#556573
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #64589e; /* rgb */ color: rgb(100, 88, 158); /* oklch */ color: oklch(50.4% 0.109 289.8);
Tailwind
colors: {
custom: {
50: '#9387bb',
500: '#64589e',
950: '#000000',
},
}SCSS
$custom: #64589e; $custom-light: #9387bb; $custom-dark: #000000;
JSON
{
"hex": "#64589e",
"rgb": {
"r": 100,
"g": 88,
"b": 158
},
"hsl": {
"h": 250.286,
"s": 28.455,
"l": 48.235
},
"oklch": {
"l": 0.50412,
"c": 0.10912,
"h": 289.8
},
"luminance": 0.12157
}Semantic roles & 50–950 ramp
primary
#64589E
secondary
#B4BA98
accent
#C563B4
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B12
muted
#7E7C81