#645FAE#645FAE
#645FAE is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.122 H 284.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #645FAE |
|---|---|
| RGB | rgb(100, 95, 174) |
| HSL | hsl(244, 33%, 53%) |
| HSV | hsv(244, 45%, 68%) |
| CMYK | cmyk(42.5%, 45.4%, 0%, 31.8%) |
| CIE-LAB | lab(44.16, 22.32, -41.67) |
| CIE-LCH | lch(44.16, 47.27, 298.18°) |
| OKLab | oklab(52.74% 0.03 -0.1178) |
| OKLCH | oklch(52.74% 0.122 284.3) |
| XYZ | xyz(16.9855, 13.9491, 41.8337) |
| Luminance | 0.1395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 5.51
Dark Periwinkle
#665FD1
ΔE00 5.64
Light Indigo
#6D5ACF
ΔE00 5.90
Royal Purple
#7851A9
ΔE00 7.29
Twilight
#4E518B
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FAE #A9AE5F
analogous
#5F82AE #645FAE #8B5FAE
triadic
#645FAE #AE645F #5FAE64
tetradic
#645FAE #AE5F82 #A9AE5F #5FAE8B
square
#645FAE #AE5F82 #A9AE5F #5FAE8B
split-complementary
#645FAE #AE8B5F #82AE5F
monochromatic
#343161 #4A468A #645FAE #8B88C3 #B3B0D7
Accessibility & contrast
On white
5.54
#645FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#645FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FAE
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FAE | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#4E6F7E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #645fae; /* rgb */ color: rgb(100, 95, 174); /* oklch */ color: oklch(52.7% 0.122 284.3);
Tailwind
colors: {
custom: {
50: '#948cc6',
500: '#645fae',
950: '#000000',
},
}SCSS
$custom: #645fae; $custom-light: #948cc6; $custom-dark: #000000;
JSON
{
"hex": "#645fae",
"rgb": {
"r": 100,
"g": 95,
"b": 174
},
"hsl": {
"h": 243.797,
"s": 32.78,
"l": 52.745
},
"oklch": {
"l": 0.52739,
"c": 0.1216,
"h": 284.3
},
"luminance": 0.1395
}Semantic roles & 50–950 ramp
primary
#645FAE
secondary
#C3C6A3
accent
#C95FC2
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82