#2D1038
Closest named color: Dark Purple (#35063E). oklch(24% 0.079 315.6), rgb(45, 16, 56).
Aa
White text reads best on this color (16.89:1).
About this color
#2D1038 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.079 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.027 away. White text reads best on it, at 16.89:1.
| Hue family | Purples |
| Lightness | very dark (24%) |
| Chroma | moderately saturated (0.079) |
| Temperature | in between |
| Nearest name | Dark Purple (#35063E) |
| Black text | 1.24:1 |
| White text | 16.89:1 |
Values
| HEX | #2D1038 |
| RGB | rgb(45, 16, 56) |
| HSL | hsl(284, 56%, 14%) |
| OKLCH | oklch(24% 0.079 315.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 #2D1038 | 16.89:1 | AAA | Lc -106.0 | Preferred for body text |
| Black text on #2D1038 | 1.24:1 | Fails | Lc 0.0 | Not readable |
| #2D1038 text on white | 16.89:1 | AAA | Lc 103.5 | Preferred for body text |
| #2D1038 text on black | 1.24: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
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F1E5F7
oklch(93.7% 0.027 314.7)
-
Step 200
200
#E7CFF1
oklch(88.5% 0.053 316)
-
Step 300
300
#D8AEEA
oklch(80.8% 0.094 315.6)
-
Step 400
400
#C481E0
oklch(70.7% 0.151 315.4)
-
Step 500
500
#B55DD6
oklch(63.1% 0.191 315.9)
-
Step 600
600
#A03EC4
oklch(55.7% 0.209 315.5)
-
Step 700
700
#892EA9
oklch(49.1% 0.194 315.7)
-
Step 800
800
#6F2889
oklch(42.7% 0.161 315.5)
-
Step 900
900
#5A276E
oklch(37.8% 0.125 315.2)
-
Step 950
950 (this color)
#2D1038
oklch(24% 0.079 315.6)
#2D1038 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) | #041B39 | 0.075 |
| Deuteranopia (no green cones) | #101E37 | 0.065 |
| Tritanopia (no blue cones) | #2C1722 | 0.051 |
| Achromatopsia (no color) | #1D1D1D | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2D1038
#2D1038
oklch(24% 0.079 315.6)
- #0E2600
#0E2600
oklch(24% 0.071 135.6)
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 #2D1038, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Purple #35063E ΔE 0.027
- Eggplant #380835 ΔE 0.029
- Deep Purple #36013F ΔE 0.035
- Very Dark Purple #2A0134 ΔE 0.036
- Midnight Purple #280137 ΔE 0.037
- Aubergine #3D0734 ΔE 0.040
- Dark Plum #3F012C ΔE 0.052
- Eggplant Purple #430541 ΔE 0.054
Use #2D1038 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.