#3F1C5D
Closest named color: Royal Purple (#4B006E). oklch(31.2% 0.112 305.6), rgb(63, 28, 93).
Aa
White text reads best on this color (13.67:1).
About this color
#3F1C5D is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.112 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.051 away. White text reads best on it, at 13.67:1.
| Hue family | Purples |
| Lightness | dark (31%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Royal Purple (#4B006E) |
| Black text | 1.53:1 |
| White text | 13.67:1 |
Values
| HEX | #3F1C5D |
| RGB | rgb(63, 28, 93) |
| HSL | hsl(272, 54%, 24%) |
| OKLCH | oklch(31.2% 0.112 305.6) |
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 #3F1C5D | 13.67:1 | AAA | Lc -103.0 | Preferred for body text |
| Black text on #3F1C5D | 1.53:1 | Fails | Lc 0.0 | Not readable |
| #3F1C5D text on white | 13.67:1 | AAA | Lc 99.8 | Preferred for body text |
| #3F1C5D text on black | 1.53: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 950.
-
Step 50
50
#F8F3FF
oklch(97.1% 0.017 304.8)
-
Step 100
100
#F0E4FF
oklch(93.6% 0.038 305.7)
-
Step 200
200
#E4CEFF
oklch(88.5% 0.07 305.4)
-
Step 300
300
#D3ACFF
oklch(80.8% 0.121 305.4)
-
Step 400
400
#BE7BFF
oklch(70.7% 0.193 305.4)
-
Step 500
500
#AF4CFF
oklch(63% 0.253 305.5)
-
Step 600
600
#9E00F4
oklch(55.6% 0.288 305.7)
-
Step 700
700
#8500CF
oklch(49.1% 0.254 305.5)
-
Step 800
800
#6D00AB
oklch(42.6% 0.221 305.5)
-
Step 900
900
#59138A
oklch(37.7% 0.178 305.4)
-
Step 950
950 (this color)
#3F1C5D
oklch(31.2% 0.112 305.6)
#3F1C5D 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) | #002C5F | 0.091 |
| Deuteranopia (no green cones) | #0B2E5C | 0.086 |
| Tritanopia (no blue cones) | #3A2A39 | 0.082 |
| Achromatopsia (no color) | #2D2D2D | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3F1C5D
#3F1C5D
oklch(31.2% 0.112 305.6)
- #273700
#273700
oklch(31.1% 0.079 125.5)
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 #3F1C5D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Purple #4B006E ΔE 0.051
- Plum Purple #4E0550 ΔE 0.051
- Deep Violet #490648 ΔE 0.054
- Eggplant Purple #430541 ΔE 0.063
- Grape Purple #5D1451 ΔE 0.070
- Indigo #4B0082 ΔE 0.073
- Dark Purple #35063E ΔE 0.073
- Deep Purple #36013F ΔE 0.077
Use #3F1C5D 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.