#645595#645595
#645595 is a mid, moderate violet. Relative luminance 0.114; OKLCH L 49.3% C 0.101 H 293.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #645595 |
|---|---|
| RGB | rgb(100, 85, 149) |
| HSL | hsl(254, 27%, 46%) |
| HSV | hsv(254, 43%, 58%) |
| CMYK | cmyk(32.9%, 43%, 0%, 41.6%) |
| CIE-LAB | lab(40.21, 21.33, -33.07) |
| CIE-LCH | lch(40.21, 39.36, 302.82°) |
| OKLab | oklab(49.3% 0.0396 -0.0928) |
| OKLCH | oklch(49.3% 0.101 293.1) |
| XYZ | xyz(13.9275, 11.3760, 29.8899) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.23
Royal Purple
#7851A9
ΔE00 5.88
Dusk
#4E5481
ΔE00 6.47
Blueberry
#464196
ΔE00 8.43
Darkslateblue
#483D8B
ΔE00 8.57
Iris
#6258C4
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645595 #869555
analogous
#556695 #645595 #845595
triadic
#645595 #956455 #559564
tetradic
#645595 #955566 #869555 #559584
square
#645595 #955566 #869555 #559584
split-complementary
#645595 #958455 #669555
monochromatic
#302947 #4A3F6E #645595 #8476B1 #A79DC7
Accessibility & contrast
On white
6.41
#645595 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#645595 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645595
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645595 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645595 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416097
Deuteranopia (green-blind)
#435E93
Tritanopia (blue-blind)
#59616E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #645595; /* rgb */ color: rgb(100, 85, 149); /* oklch */ color: oklch(49.3% 0.101 293.1);
Tailwind
colors: {
custom: {
50: '#9285b4',
500: '#645595',
950: '#000000',
},
}SCSS
$custom: #645595; $custom-light: #9285b4; $custom-dark: #000000;
JSON
{
"hex": "#645595",
"rgb": {
"r": 100,
"g": 85,
"b": 149
},
"hsl": {
"h": 254.063,
"s": 27.35,
"l": 45.882
},
"oklch": {
"l": 0.49303,
"c": 0.10086,
"h": 293.1
},
"luminance": 0.11376
}Semantic roles & 50–950 ramp
primary
#645595
secondary
#ACB591
accent
#C464AD
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80