#645FA1#645FA1
#645FA1 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 52.0% C 0.103 H 285.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #645FA1 |
|---|---|
| RGB | rgb(100, 95, 161) |
| HSL | hsl(245, 26%, 50%) |
| HSV | hsv(245, 41%, 63%) |
| CMYK | cmyk(37.9%, 41%, 0%, 36.9%) |
| CIE-LAB | lab(43.46, 18.52, -35.11) |
| CIE-LCH | lch(43.46, 39.70, 297.80°) |
| OKLab | oklab(51.98% 0.0278 -0.0987) |
| OKLCH | oklch(51.98% 0.103 285.7) |
| XYZ | xyz(15.7790, 13.4664, 35.4792) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 6.23
Iris
#6258C4
ΔE00 6.88
Dusk
#4E5481
ΔE00 7.14
Dusky Blue
#475F94
ΔE00 7.40
Royal Purple
#7851A9
ΔE00 7.46
Slate Blue
#6A5ACD
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FA1 #9CA15F
analogous
#5F7BA1 #645FA1 #855FA1
triadic
#645FA1 #A1645F #5FA164
tetradic
#645FA1 #A15F7B #9CA15F #5FA185
square
#645FA1 #A15F7B #9CA15F #5FA185
split-complementary
#645FA1 #A1855F #7BA15F
monochromatic
#343154 #4C487B #645FA1 #8986B8 #AFACCE
Accessibility & contrast
On white
5.69
#645FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#645FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FA1
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FA1 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4969A4
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#536C78
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #645fa1; /* rgb */ color: rgb(100, 95, 161); /* oklch */ color: oklch(52.0% 0.103 285.7);
Tailwind
colors: {
custom: {
50: '#938cbd',
500: '#645fa1',
950: '#000000',
},
}SCSS
$custom: #645fa1; $custom-light: #938cbd; $custom-dark: #000000;
JSON
{
"hex": "#645fa1",
"rgb": {
"r": 100,
"g": 95,
"b": 161
},
"hsl": {
"h": 244.545,
"s": 25.984,
"l": 50.196
},
"oklch": {
"l": 0.51978,
"c": 0.10252,
"h": 285.7
},
"luminance": 0.13467
}Semantic roles & 50–950 ramp
primary
#645FA1
secondary
#BABD9F
accent
#C265BB
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C12
muted
#7E7D81