#645693#645693
#645693 is a mid, moderate violet. Relative luminance 0.115; OKLCH L 49.4% C 0.096 H 293.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #645693 |
|---|---|
| RGB | rgb(100, 86, 147) |
| HSL | hsl(254, 26%, 46%) |
| HSV | hsv(254, 41%, 58%) |
| CMYK | cmyk(32%, 41.5%, 0%, 42.4%) |
| CIE-LAB | lab(40.36, 20.16, -31.62) |
| CIE-LCH | lch(40.36, 37.50, 302.51°) |
| OKLab | oklab(49.39% 0.0378 -0.0885) |
| OKLCH | oklch(49.39% 0.096 293.1) |
| XYZ | xyz(13.8485, 11.4712, 29.0827) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.23
Dusk
#4E5481
ΔE00 6.21
Royal Purple
#7851A9
ΔE00 6.34
Blueberry
#464196
ΔE00 8.88
Darkslateblue
#483D8B
ΔE00 8.95
Iris
#6258C4
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645693 #859356
analogous
#566793 #645693 #825693
triadic
#645693 #936456 #569364
tetradic
#645693 #935667 #859356 #569382
square
#645693 #935667 #859356 #569382
split-complementary
#645693 #938256 #679356
monochromatic
#2F2946 #4A3F6C #645693 #8477AF #A79DC6
Accessibility & contrast
On white
6.37
#645693 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#645693 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645693
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645693 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645693 | 1.00 | 6.37 | 3.29 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446095
Deuteranopia (green-blind)
#465E91
Tritanopia (blue-blind)
#59616D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #645693; /* rgb */ color: rgb(100, 86, 147); /* oklch */ color: oklch(49.4% 0.096 293.1);
Tailwind
colors: {
custom: {
50: '#9285b3',
500: '#645693',
950: '#000000',
},
}SCSS
$custom: #645693; $custom-light: #9285b3; $custom-dark: #000000;
JSON
{
"hex": "#645693",
"rgb": {
"r": 100,
"g": 86,
"b": 147
},
"hsl": {
"h": 253.77,
"s": 26.18,
"l": 45.686
},
"oklch": {
"l": 0.49387,
"c": 0.09626,
"h": 293.1
},
"luminance": 0.11471
}Semantic roles & 50–950 ramp
primary
#645693
secondary
#ACB391
accent
#C365AD
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80