#640D96
Closest named color: Chrysanthemum (#560BAD). oklch(39.9% 0.195 307.3), rgb(100, 13, 150).
Aa
White text reads best on this color (10.29:1).
About this color
#640D96 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.195 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Chrysanthemum (#560BAD), ΔE 0.051 away. White text reads best on it, at 10.29:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | vivid (0.195) |
| Temperature | in between |
| Nearest name | Chrysanthemum (#560BAD) |
| Black text | 2.03:1 |
| White text | 10.29:1 |
Values
| HEX | #640D96 |
| RGB | rgb(100, 13, 150) |
| HSL | hsl(278, 84%, 32%) |
| OKLCH | oklch(39.9% 0.195 307.3) |
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 #640D96 | 10.29:1 | AAA | Lc -96.5 | Preferred for body text |
| Black text on #640D96 | 2.03:1 | Fails | Lc 11.7 | Not readable |
| #640D96 text on white | 10.29:1 | AAA | Lc 92.3 | Preferred for body text |
| #640D96 text on black | 2.03:1 | Fails | Lc -10.1 | Not readable |
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 900.
-
Step 50
50
#F9F3FF
oklch(97.2% 0.017 308.3)
-
Step 100
100
#F1E3FF
oklch(93.5% 0.04 308)
-
Step 200
200
#E6CDFF
oklch(88.5% 0.073 307.6)
-
Step 300
300
#D6ABFF
oklch(80.9% 0.124 307.3)
-
Step 400
400
#C278FF
oklch(70.7% 0.199 307.4)
-
Step 500
500
#B447FF
oklch(63.1% 0.259 307.5)
-
Step 600
600
#A100F0
oklch(55.7% 0.286 307.4)
-
Step 700
700
#8700CB
oklch(49% 0.252 307.2)
-
Step 800
800
#6F00A8
oklch(42.6% 0.219 307.2)
-
Step 900
900 (this color)
#640D96
oklch(39.9% 0.195 307.3)
-
Step 950
950
#370954
oklch(27.1% 0.124 307.3)
#640D96 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) | #003E99 | 0.147 |
| Deuteranopia (no green cones) | #004194 | 0.149 |
| Tritanopia (no blue cones) | #5B3757 | 0.134 |
| Achromatopsia (no color) | #404040 | 0.197 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #640D96
#640D96
oklch(39.9% 0.195 307.3)
- #385100
#385100
oklch(39.9% 0.103 127.2)
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 #640D96, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chrysanthemum #560BAD ΔE 0.051
- Rebecca Purple #663399 ΔE 0.055
- Grape #7209B7 ΔE 0.059
- Indigo #4B0082 ΔE 0.065
- Imperial Purple #480CA8 ΔE 0.070
- Purple #800080 ΔE 0.074
- Royal Purple #4B006E ΔE 0.087
- Dark Magenta #8B008B ΔE 0.088
Use #640D96 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.