#645596#645596
#645596 is a mid, moderate violet. Relative luminance 0.114; OKLCH L 49.4% C 0.102 H 292.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #645596 |
|---|---|
| RGB | rgb(100, 85, 150) |
| HSL | hsl(254, 28%, 46%) |
| HSV | hsv(254, 43%, 59%) |
| CMYK | cmyk(33.3%, 43.3%, 0%, 41.2%) |
| CIE-LAB | lab(40.26, 21.61, -33.59) |
| CIE-LCH | lch(40.26, 39.94, 302.75°) |
| OKLab | oklab(49.36% 0.0398 -0.0943) |
| OKLCH | oklch(49.36% 0.102 292.9) |
| XYZ | xyz(14.0076, 11.4081, 30.3122) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.23
Royal Purple
#7851A9
ΔE00 5.76
Dusk
#4E5481
ΔE00 6.54
Blueberry
#464196
ΔE00 8.33
Iris
#6258C4
ΔE00 8.42
Darkslateblue
#483D8B
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645596 #879655
analogous
#556696 #645596 #845596
triadic
#645596 #966455 #559664
tetradic
#645596 #965566 #879655 #559684
square
#645596 #965566 #879655 #559684
split-complementary
#645596 #968455 #669655
monochromatic
#302948 #4A3F6F #645596 #8477B2 #A79EC8
Accessibility & contrast
On white
6.40
#645596 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#645596 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645596
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645596 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645596 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416098
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#58616E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #645596; /* rgb */ color: rgb(100, 85, 150); /* oklch */ color: oklch(49.4% 0.102 292.9);
Tailwind
colors: {
custom: {
50: '#9285b5',
500: '#645596',
950: '#000000',
},
}SCSS
$custom: #645596; $custom-light: #9285b5; $custom-dark: #000000;
JSON
{
"hex": "#645596",
"rgb": {
"r": 100,
"g": 85,
"b": 150
},
"hsl": {
"h": 253.846,
"s": 27.66,
"l": 46.078
},
"oklch": {
"l": 0.4936,
"c": 0.10232,
"h": 292.9
},
"luminance": 0.11408
}Semantic roles & 50–950 ramp
primary
#645596
secondary
#ADB592
accent
#C464AE
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80