#645499#645499
#645499 is a mid, moderate violet. Relative luminance 0.114; OKLCH L 49.3% C 0.108 H 292.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #645499 |
|---|---|
| RGB | rgb(100, 84, 153) |
| HSL | hsl(254, 29%, 46%) |
| HSV | hsv(254, 45%, 60%) |
| CMYK | cmyk(34.6%, 45.1%, 0%, 40%) |
| CIE-LAB | lab(40.16, 23.07, -35.55) |
| CIE-LCH | lch(40.16, 42.37, 302.98°) |
| OKLab | oklab(49.34% 0.0417 -0.1) |
| OKLCH | oklch(49.34% 0.108 292.7) |
| XYZ | xyz(14.1741, 11.3496, 31.5747) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.27
Twilight
#4E518B
ΔE00 5.35
Dusk
#4E5481
ΔE00 6.94
Iris
#6258C4
ΔE00 7.77
Blueberry
#464196
ΔE00 7.86
Darkslateblue
#483D8B
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645499 #899954
analogous
#546799 #645499 #875499
triadic
#645499 #996454 #549964
tetradic
#645499 #995467 #899954 #549987
square
#645499 #995467 #899954 #549987
split-complementary
#645499 #998754 #679954
monochromatic
#30294A #4A3E71 #645499 #8576B4 #A89ECA
Accessibility & contrast
On white
6.42
#645499 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#645499 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645499
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645499 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E609C
Deuteranopia (green-blind)
#405D97
Tritanopia (blue-blind)
#57616F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #645499; /* rgb */ color: rgb(100, 84, 153); /* oklch */ color: oklch(49.3% 0.108 292.7);
Tailwind
colors: {
custom: {
50: '#9284b7',
500: '#645499',
950: '#000000',
},
}SCSS
$custom: #645499; $custom-light: #9284b7; $custom-dark: #000000;
JSON
{
"hex": "#645499",
"rgb": {
"r": 100,
"g": 84,
"b": 153
},
"hsl": {
"h": 253.913,
"s": 29.114,
"l": 46.471
},
"oklch": {
"l": 0.4934,
"c": 0.10832,
"h": 292.7
},
"luminance": 0.1135
}Semantic roles & 50–950 ramp
primary
#645499
secondary
#AEB792
accent
#C562AE
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80