#2B1847
Closest named color: Dark Purple (#35063E). oklch(26.2% 0.085 299.1), rgb(43, 24, 71).
Aa
White text reads best on this color (15.85:1).
About this color
#2B1847 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.085 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.044 away. White text reads best on it, at 15.85:1.
| Hue family | Purples |
| Lightness | dark (26%) |
| Chroma | moderately saturated (0.085) |
| Temperature | in between |
| Nearest name | Dark Purple (#35063E) |
| Black text | 1.32:1 |
| White text | 15.85:1 |
Values
| HEX | #2B1847 |
| RGB | rgb(43, 24, 71) |
| HSL | hsl(264, 49%, 19%) |
| OKLCH | oklch(26.2% 0.085 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 #2B1847 | 15.85:1 | AAA | Lc -105.2 | Preferred for body text |
| Black text on #2B1847 | 1.32:1 | Fails | Lc 0.0 | Not readable |
| #2B1847 text on white | 15.85:1 | AAA | Lc 102.6 | Preferred for body text |
| #2B1847 text on black | 1.32: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
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#ECE6FB
oklch(93.6% 0.029 298.9)
-
Step 200
200
#DED2FA
oklch(88.6% 0.056 299)
-
Step 300
300
#C9B2F9
oklch(80.8% 0.101 299)
-
Step 400
400
#AF87F6
oklch(70.7% 0.161 298.9)
-
Step 500
500
#9D64F1
oklch(63.1% 0.204 299.1)
-
Step 600
600
#8944E0
oklch(55.6% 0.223 299.2)
-
Step 700
700
#7434C2
oklch(49% 0.207 299)
-
Step 800
800
#5F2D9D
oklch(42.7% 0.171 299.4)
-
Step 900
900
#4D2B7D
oklch(37.8% 0.133 299)
-
Step 950
950 (this color)
#2B1847
oklch(26.2% 0.085 299.1)
#2B1847 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) | #012249 | 0.063 |
| Deuteranopia (no green cones) | #082246 | 0.058 |
| Tritanopia (no blue cones) | #25222C | 0.066 |
| Achromatopsia (no color) | #222222 | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2B1847
#2B1847
oklch(26.2% 0.085 299.1)
- #212800
#212800
oklch(26.1% 0.061 119.3)
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 #2B1847, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Purple #35063E ΔE 0.044
- Dark Indigo #1F0954 ΔE 0.049
- Deep Purple #36013F ΔE 0.051
- Eggplant #380835 ΔE 0.053
- Oxford Blue #1B263B ΔE 0.057
- Aubergine #3D0734 ΔE 0.060
- Midnight Purple #280137 ΔE 0.060
- Eggplant Purple #430541 ΔE 0.061
Use #2B1847 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.