#645FA9#645FA9
#645FA9 is a mid, moderate blue. Relative luminance 0.138; OKLCH L 52.4% C 0.114 H 284.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #645FA9 |
|---|---|
| RGB | rgb(100, 95, 169) |
| HSL | hsl(244, 30%, 52%) |
| HSV | hsv(244, 44%, 66%) |
| CMYK | cmyk(40.8%, 43.8%, 0%, 33.7%) |
| CIE-LAB | lab(43.88, 20.85, -39.17) |
| CIE-LCH | lch(43.88, 44.37, 298.02°) |
| OKLab | oklab(52.44% 0.0292 -0.1105) |
| OKLCH | oklch(52.44% 0.114 284.8) |
| XYZ | xyz(16.5071, 13.7577, 39.3142) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 6.38
Dark Periwinkle
#665FD1
ΔE00 6.57
Light Indigo
#6D5ACF
ΔE00 6.75
Twilight
#4E518B
ΔE00 6.94
Royal Purple
#7851A9
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FA9 #A4A95F
analogous
#5F7FA9 #645FA9 #895FA9
triadic
#645FA9 #A9645F #5FA964
tetradic
#645FA9 #A95F7F #A4A95F #5FA989
square
#645FA9 #A95F7F #A4A95F #5FA989
split-complementary
#645FA9 #A9895F #7FA95F
monochromatic
#34325C #4B4784 #645FA9 #8B87BE #B1AFD4
Accessibility & contrast
On white
5.60
#645FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#645FA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FA9
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FA9 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446AAC
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#506E7C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #645fa9; /* rgb */ color: rgb(100, 95, 169); /* oklch */ color: oklch(52.4% 0.114 284.8);
Tailwind
colors: {
custom: {
50: '#938cc3',
500: '#645fa9',
950: '#000000',
},
}SCSS
$custom: #645fa9; $custom-light: #938cc3; $custom-dark: #000000;
JSON
{
"hex": "#645fa9",
"rgb": {
"r": 100,
"g": 95,
"b": 169
},
"hsl": {
"h": 244.054,
"s": 30.081,
"l": 51.765
},
"oklch": {
"l": 0.5244,
"c": 0.11431,
"h": 284.8
},
"luminance": 0.13758
}Semantic roles & 50–950 ramp
primary
#645FA9
secondary
#C0C2A2
accent
#C661C0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81