#645DAE#645DAE
#645DAE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.125 H 285.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #645DAE |
|---|---|
| RGB | rgb(100, 93, 174) |
| HSL | hsl(245, 33%, 52%) |
| HSV | hsv(245, 47%, 68%) |
| CMYK | cmyk(42.5%, 46.6%, 0%, 31.8%) |
| CIE-LAB | lab(43.64, 23.56, -42.49) |
| CIE-LCH | lch(43.64, 48.59, 299.01°) |
| OKLab | oklab(52.35% 0.0326 -0.1202) |
| OKLCH | oklch(52.35% 0.125 285.2) |
| XYZ | xyz(16.8077, 13.5934, 41.7744) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.17
Slate Blue
#6A5ACD
ΔE00 5.27
Dark Periwinkle
#665FD1
ΔE00 5.63
Light Indigo
#6D5ACF
ΔE00 5.66
Royal Purple
#7851A9
ΔE00 6.75
Twilight
#4E518B
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645DAE #A7AE5D
analogous
#5D7FAE #645DAE #8C5DAE
triadic
#645DAE #AE645D #5DAE64
tetradic
#645DAE #AE5D7F #A7AE5D #5DAE8C
square
#645DAE #AE5D7F #A7AE5D #5DAE8C
split-complementary
#645DAE #AE8C5D #7FAE5D
monochromatic
#343060 #4B4589 #645DAE #8B86C2 #B2AFD7
Accessibility & contrast
On white
5.65
#645DAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#645DAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645DAE
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645DAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645DAE | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E69B1
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#4E6D7D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #645dae; /* rgb */ color: rgb(100, 93, 174); /* oklch */ color: oklch(52.3% 0.125 285.2);
Tailwind
colors: {
custom: {
50: '#948bc6',
500: '#645dae',
950: '#000000',
},
}SCSS
$custom: #645dae; $custom-light: #948bc6; $custom-dark: #000000;
JSON
{
"hex": "#645dae",
"rgb": {
"r": 100,
"g": 93,
"b": 174
},
"hsl": {
"h": 245.185,
"s": 33.333,
"l": 52.353
},
"oklch": {
"l": 0.52349,
"c": 0.12459,
"h": 285.2
},
"luminance": 0.13594
}Semantic roles & 50–950 ramp
primary
#645DAE
secondary
#C2C5A2
accent
#C95EC0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82