#40265B
Closest named color: Plum Purple (#4E0550). oklch(32.9% 0.093 304.4), rgb(64, 38, 91).
Aa
White text reads best on this color (12.75:1).
About this color
#40265B is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.093 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.065 away. White text reads best on it, at 12.75:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.093) |
| Temperature | in between |
| Nearest name | Plum Purple (#4E0550) |
| Black text | 1.64:1 |
| White text | 12.75:1 |
Values
| HEX | #40265B |
| RGB | rgb(64, 38, 91) |
| HSL | hsl(269, 41%, 25%) |
| OKLCH | oklch(32.9% 0.093 304.4) |
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 #40265B | 12.75:1 | AAA | Lc -102.0 | Preferred for body text |
| Black text on #40265B | 1.64:1 | Fails | Lc 0.0 | Not readable |
| #40265B text on white | 12.75:1 | AAA | Lc 98.6 | Preferred for body text |
| #40265B text on black | 1.64:1 | Fails | Lc 0.0 | 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
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EDE7F5
oklch(93.7% 0.02 305.3)
-
Step 200
200
#DFD3EF
oklch(88.5% 0.04 304.9)
-
Step 300
300
#CAB6E6
oklch(80.9% 0.07 303.8)
-
Step 400
400
#B08ED9
oklch(70.6% 0.113 304.5)
-
Step 500
500
#9D71CF
oklch(63.2% 0.143 304.2)
-
Step 600
600
#8857BC
oklch(55.6% 0.156 304.2)
-
Step 700
700
#7447A2
oklch(49.2% 0.144 304.5)
-
Step 800
800
#5E3B83
oklch(42.8% 0.119 304.3)
-
Step 900
900 (this color)
#40265B
oklch(32.9% 0.093 304.4)
-
Step 950
950
#2D1E3E
oklch(27% 0.06 304.3)
#40265B 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) | #14325D | 0.071 |
| Deuteranopia (no green cones) | #1C325A | 0.065 |
| Tritanopia (no blue cones) | #3B303C | 0.070 |
| Achromatopsia (no color) | #323232 | 0.094 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40265B
#40265B
oklch(32.9% 0.093 304.4)
- #2C3C00
#2C3C00
oklch(33% 0.083 124.7)
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 #40265B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum Purple #4E0550 ΔE 0.065
- Space Cadet #2B2D42 ΔE 0.065
- Deep Violet #490648 ΔE 0.068
- Grape Purple #5D1451 ΔE 0.069
- Prussian Blue #1D3557 ΔE 0.069
- Royal Purple #4B006E ΔE 0.070
- Gunmetal #293241 ΔE 0.076
- Eggplant Purple #430541 ΔE 0.076
Use #40265B 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.