#645697#645697
#645697 is a mid, moderate violet. Relative luminance 0.116; OKLCH L 49.6% C 0.102 H 292.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #645697 |
|---|---|
| RGB | rgb(100, 86, 151) |
| HSL | hsl(253, 27%, 46%) |
| HSV | hsv(253, 43%, 59%) |
| CMYK | cmyk(33.8%, 43%, 0%, 40.8%) |
| CIE-LAB | lab(40.57, 21.27, -33.70) |
| CIE-LCH | lch(40.57, 39.85, 302.25°) |
| OKLab | oklab(49.61% 0.0385 -0.0946) |
| OKLCH | oklch(49.61% 0.102 292.2) |
| XYZ | xyz(14.1678, 11.5990, 30.7645) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.20
Royal Purple
#7851A9
ΔE00 5.85
Dusk
#4E5481
ΔE00 6.49
Iris
#6258C4
ΔE00 8.22
Blueberry
#464196
ΔE00 8.46
Darkslateblue
#483D8B
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645697 #899756
analogous
#566997 #645697 #855697
triadic
#645697 #976456 #569764
tetradic
#645697 #975669 #899756 #569785
square
#645697 #975669 #899756 #569785
split-complementary
#645697 #978556 #699756
monochromatic
#302A49 #4A4070 #645697 #8578B2 #A89FC8
Accessibility & contrast
On white
6.33
#645697 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#645697 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645697
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645697 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426199
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#58626F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #645697; /* rgb */ color: rgb(100, 86, 151); /* oklch */ color: oklch(49.6% 0.102 292.2);
Tailwind
colors: {
custom: {
50: '#9285b6',
500: '#645697',
950: '#000000',
},
}SCSS
$custom: #645697; $custom-light: #9285b6; $custom-dark: #000000;
JSON
{
"hex": "#645697",
"rgb": {
"r": 100,
"g": 86,
"b": 151
},
"hsl": {
"h": 252.923,
"s": 27.426,
"l": 46.471
},
"oklch": {
"l": 0.49613,
"c": 0.10212,
"h": 292.2
},
"luminance": 0.11599
}Semantic roles & 50–950 ramp
primary
#645697
secondary
#AEB693
accent
#C464AF
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80