#645192#645192
#645192 is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.4% C 0.103 H 295.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #645192 |
|---|---|
| RGB | rgb(100, 81, 146) |
| HSL | hsl(258, 29%, 45%) |
| HSV | hsv(258, 45%, 57%) |
| CMYK | cmyk(31.5%, 44.5%, 0%, 42.7%) |
| CIE-LAB | lab(39.02, 22.99, -33.14) |
| CIE-LCH | lch(39.02, 40.33, 304.75°) |
| OKLab | oklab(48.35% 0.0449 -0.0929) |
| OKLCH | oklch(48.35% 0.103 295.8) |
| XYZ | xyz(13.3850, 10.6693, 28.5428) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.65
Dusk
#4E5481
ΔE00 6.99
Darkslateblue
#483D8B
ΔE00 7.77
Blueberry
#464196
ΔE00 7.95
Rebeccapurple
#663399
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645192 #7F9251
analogous
#515F92 #645192 #845192
triadic
#645192 #926451 #519264
tetradic
#645192 #92515F #7F9251 #519284
square
#645192 #92515F #7F9251 #519284
split-complementary
#645192 #928451 #5F9251
monochromatic
#2E2543 #493B6B #645192 #8370B0 #A598C6
Accessibility & contrast
On white
6.70
#645192 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#645192 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645192
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645192 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D5C94
Deuteranopia (green-blind)
#415B90
Tritanopia (blue-blind)
#5A5D6A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #645192; /* rgb */ color: rgb(100, 81, 146); /* oklch */ color: oklch(48.4% 0.103 295.8);
Tailwind
colors: {
custom: {
50: '#9282b2',
500: '#645192',
950: '#000000',
},
}SCSS
$custom: #645192; $custom-light: #9282b2; $custom-dark: #000000;
JSON
{
"hex": "#645192",
"rgb": {
"r": 100,
"g": 81,
"b": 146
},
"hsl": {
"h": 257.538,
"s": 28.634,
"l": 44.51
},
"oklch": {
"l": 0.48352,
"c": 0.10321,
"h": 295.8
},
"luminance": 0.1067
}Semantic roles & 50–950 ramp
primary
#645192
secondary
#A7B38C
accent
#C563A8
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80