#3F2466
Closest named color: Royal Purple (#4B006E). oklch(33.2% 0.111 299.1), rgb(63, 36, 102).
Aa
White text reads best on this color (12.68:1).
About this color
#3F2466 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.111 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.058 away. White text reads best on it, at 12.68:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.111) |
| Temperature | in between |
| Nearest name | Royal Purple (#4B006E) |
| Black text | 1.65:1 |
| White text | 12.68:1 |
Values
| HEX | #3F2466 |
| RGB | rgb(63, 36, 102) |
| HSL | hsl(265, 48%, 27%) |
| OKLCH | oklch(33.2% 0.111 299.1) |
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 #3F2466 | 12.68:1 | AAA | Lc -101.8 | Preferred for body text |
| Black text on #3F2466 | 1.65:1 | Fails | Lc 0.0 | Not readable |
| #3F2466 text on white | 12.68:1 | AAA | Lc 98.4 | Preferred for body text |
| #3F2466 text on black | 1.65: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
#F6F4FC
oklch(97.1% 0.011 297.6)
-
Step 100
100
#ECE7F8
oklch(93.7% 0.023 299.4)
-
Step 200
200
#DDD3F4
oklch(88.5% 0.046 299.3)
-
Step 300
300
#C8B5F0
oklch(80.9% 0.084 299.3)
-
Step 400
400
#AC8CE8
oklch(70.6% 0.135 298.9)
-
Step 500
500
#996DE1
oklch(63.1% 0.171 298.9)
-
Step 600
600
#8551CF
oklch(55.6% 0.187 299.2)
-
Step 700
700
#7041B3
oklch(49.1% 0.173 298.8)
-
Step 800
800
#5B3791
oklch(42.8% 0.143 298.6)
-
Step 900
900 (this color)
#3F2466
oklch(33.2% 0.111 299.1)
-
Step 950
950
#2C1D44
oklch(27.1% 0.071 299.4)
#3F2466 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) | #003368 | 0.083 |
| Deuteranopia (no green cones) | #0A3265 | 0.077 |
| Tritanopia (no blue cones) | #363241 | 0.085 |
| Achromatopsia (no color) | #333333 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3F2466
#3F2466
oklch(33.2% 0.111 299.1)
- #323B00
#323B00
oklch(33.2% 0.078 118.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 #3F2466, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Purple #4B006E ΔE 0.058
- Indigo #4B0082 ΔE 0.068
- Plum Purple #4E0550 ΔE 0.069
- Deep Violet #490648 ΔE 0.075
- Prussian Blue #1D3557 ΔE 0.076
- Grape Purple #5D1451 ΔE 0.077
- Midnight Blue #191970 ΔE 0.079
- Space Cadet #2B2D42 ΔE 0.081
Use #3F2466 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.