#645B93#645B93
#645B93 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.4% C 0.088 H 290.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #645B93 |
|---|---|
| RGB | rgb(100, 91, 147) |
| HSL | hsl(250, 24%, 47%) |
| HSV | hsv(250, 38%, 58%) |
| CMYK | cmyk(32%, 38.1%, 0%, 42.4%) |
| CIE-LAB | lab(41.69, 17.05, -29.55) |
| CIE-LCH | lch(41.69, 34.11, 299.99°) |
| OKLab | oklab(50.39% 0.0304 -0.0825) |
| OKLCH | oklch(50.39% 0.088 290.2) |
| XYZ | xyz(14.2617, 12.2978, 29.2204) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.46
Dusk
#4E5481
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 7.58
Dusky Blue
#475F94
ΔE00 8.69
Dark Lavender
#856798
ΔE00 9.02
Iris
#6258C4
ΔE00 9.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645B93 #8A935B
analogous
#5B6E93 #645B93 #805B93
triadic
#645B93 #93645B #5B9364
tetradic
#645B93 #935B6E #8A935B #5B9380
square
#645B93 #935B6E #8A935B #5B9380
split-complementary
#645B93 #93805B #6E935B
monochromatic
#312C47 #4A446D #645B93 #857DAE #A8A3C6
Accessibility & contrast
On white
6.07
#645B93 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#645B93 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645B93
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645B93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645B93 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6395
Deuteranopia (green-blind)
#4B6192
Tritanopia (blue-blind)
#596570
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #645b93; /* rgb */ color: rgb(100, 91, 147); /* oklch */ color: oklch(50.4% 0.088 290.2);
Tailwind
colors: {
custom: {
50: '#9289b3',
500: '#645b93',
950: '#000000',
},
}SCSS
$custom: #645b93; $custom-light: #9289b3; $custom-dark: #000000;
JSON
{
"hex": "#645b93",
"rgb": {
"r": 100,
"g": 91,
"b": 147
},
"hsl": {
"h": 249.643,
"s": 23.529,
"l": 46.667
},
"oklch": {
"l": 0.50394,
"c": 0.08796,
"h": 290.2
},
"luminance": 0.12298
}Semantic roles & 50–950 ramp
primary
#645B93
secondary
#AFB496
accent
#C068B2
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80