#645F8F
Closest named color: Dusky Blue (#475F94). oklch(51% 0.075 288.2), rgb(100, 95, 143).
Aa
White text reads best on this color (5.87:1).
About this color
#645F8F is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.075 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.041 away. White text reads best on it, at 5.87:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | moderately saturated (0.075) |
| Temperature | cool |
| Nearest name | Dusky Blue (#475F94) |
| Black text | 3.57:1 |
| White text | 5.87:1 |
Values
| HEX | #645F8F |
| RGB | rgb(100, 95, 143) |
| HSL | hsl(246, 20%, 47%) |
| OKLCH | oklch(51% 0.075 288.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #645F8F | 5.87:1 | AA | Lc -84.6 | Fine for body text |
| Black text on #645F8F | 3.57:1 | AA large text | Lc 24.7 | Dividers and decoration only |
| #645F8F text on white | 5.87:1 | AA | Lc 79.3 | Fine for body text |
| #645F8F text on black | 3.57:1 | AA large text | Lc -22.5 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#F5F5F9
oklch(97.1% 0.005 286.3)
-
Step 100
100
#E9E9F1
oklch(93.6% 0.011 286.2)
-
Step 200
200
#D8D7E6
oklch(88.4% 0.02 289)
-
Step 300
300
#BFBDD7
oklch(80.8% 0.036 289.1)
-
Step 400
400
#9E9BC4
oklch(70.6% 0.059 288.1)
-
Step 500
500
#8782B4
oklch(63% 0.075 288.6)
-
Step 600
600
#716CA0
oklch(55.7% 0.08 287.9)
-
Step 700
700 (this color)
#645F8F
oklch(51% 0.075 288.2)
-
Step 800
800
#4D496F
oklch(42.6% 0.062 288.3)
-
Step 900
900
#403D5A
oklch(37.6% 0.049 288.5)
-
Step 950
950
#262435
oklch(27% 0.031 289.5)
#645F8F with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #526691 | 0.030 |
| Deuteranopia (no green cones) | #51638E | 0.029 |
| Tritanopia (no blue cones) | #5A6870 | 0.066 |
| Achromatopsia (no color) | #646464 | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #645F8F
#645F8F
oklch(51% 0.075 288.2)
- #6A6933
#6A6933
oklch(50.9% 0.075 107.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #645F8F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusky Blue #475F94 ΔE 0.041
- Muted Purple #805B87 ΔE 0.047
- Dusty Purple #825F87 ΔE 0.051
- Dusk #4E5481 ΔE 0.052
- Dusty Grape #545775 ΔE 0.052
- Twilight #4E518B ΔE 0.055
- Denim #3B638C ΔE 0.055
- Dull Purple #84597E ΔE 0.058
Use #645F8F in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.