#645EAE#645EAE
#645EAE is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.123 H 284.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #645EAE |
|---|---|
| RGB | rgb(100, 94, 174) |
| HSL | hsl(245, 33%, 53%) |
| HSV | hsv(245, 46%, 68%) |
| CMYK | cmyk(42.5%, 46%, 0%, 31.8%) |
| CIE-LAB | lab(43.90, 22.94, -42.08) |
| CIE-LCH | lch(43.90, 47.93, 298.60°) |
| OKLab | oklab(52.54% 0.0313 -0.119) |
| OKLCH | oklch(52.54% 0.123 284.7) |
| XYZ | xyz(16.8960, 13.7701, 41.8038) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.34
Slate Blue
#6A5ACD
ΔE00 5.38
Dark Periwinkle
#665FD1
ΔE00 5.63
Light Indigo
#6D5ACF
ΔE00 5.78
Royal Purple
#7851A9
ΔE00 7.02
Twilight
#4E518B
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645EAE #A8AE5E
analogous
#5E80AE #645EAE #8C5EAE
triadic
#645EAE #AE645E #5EAE64
tetradic
#645EAE #AE5E80 #A8AE5E #5EAE8C
square
#645EAE #AE5E80 #A8AE5E #5EAE8C
split-complementary
#645EAE #AE8C5E #80AE5E
monochromatic
#343161 #4A458A #645EAE #8B87C2 #B2AFD7
Accessibility & contrast
On white
5.59
#645EAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#645EAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645EAE
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645EAE | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#4E6E7D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #645eae; /* rgb */ color: rgb(100, 94, 174); /* oklch */ color: oklch(52.5% 0.123 284.7);
Tailwind
colors: {
custom: {
50: '#948bc6',
500: '#645eae',
950: '#000000',
},
}SCSS
$custom: #645eae; $custom-light: #948bc6; $custom-dark: #000000;
JSON
{
"hex": "#645eae",
"rgb": {
"r": 100,
"g": 94,
"b": 174
},
"hsl": {
"h": 244.5,
"s": 33.058,
"l": 52.549
},
"oklch": {
"l": 0.52544,
"c": 0.12309,
"h": 284.7
},
"luminance": 0.13771
}Semantic roles & 50–950 ramp
primary
#645EAE
secondary
#C3C5A3
accent
#C95FC1
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82