#26172E
Closest named color: Dark (#1B2431). oklch(23.6% 0.047 313.1), rgb(38, 23, 46).
Aa
White text reads best on this color (16.87:1).
About this color
#26172E is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.047 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.045 away. White text reads best on it, at 16.87:1.
| Hue family | Purples |
| Lightness | very dark (24%) |
| Chroma | muted (0.047) |
| Temperature | in between |
| Nearest name | Dark (#1B2431) |
| Black text | 1.24:1 |
| White text | 16.87:1 |
Values
| HEX | #26172E |
| RGB | rgb(38, 23, 46) |
| HSL | hsl(279, 33%, 14%) |
| OKLCH | oklch(23.6% 0.047 313.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 #26172E | 16.87:1 | AAA | Lc -106.1 | Preferred for body text |
| Black text on #26172E | 1.24:1 | Fails | Lc 0.0 | Not readable |
| #26172E text on white | 16.87:1 | AAA | Lc 103.7 | Preferred for body text |
| #26172E 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
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EEE7F2
oklch(93.7% 0.016 313.6)
-
Step 200
200
#E0D4E8
oklch(88.6% 0.03 312.1)
-
Step 300
300
#CEB7DB
oklch(81% 0.056 313.4)
-
Step 400
400
#B490C9
oklch(70.6% 0.09 312.7)
-
Step 500
500
#A274BB
oklch(63.2% 0.115 313.1)
-
Step 600
600
#8D5BA7
oklch(55.6% 0.126 313.2)
-
Step 700
700
#784B8F
oklch(49.2% 0.116 313.3)
-
Step 800
800
#613E74
oklch(42.8% 0.095 312.8)
-
Step 900
900
#4F355E
oklch(37.7% 0.075 312.3)
-
Step 950
950 (this color)
#26172E
oklch(23.6% 0.047 313.1)
#26172E 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) | #131C2F | 0.037 |
| Deuteranopia (no green cones) | #161D2D | 0.035 |
| Tritanopia (no blue cones) | #251A20 | 0.032 |
| Achromatopsia (no color) | #1D1D1D | 0.048 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #26172E
#26172E
oklch(23.6% 0.047 313.1)
- #15230A
#15230A
oklch(23.6% 0.048 133.2)
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 #26172E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.045
- Rich Black #0D1B2A ΔE 0.047
- Oxford Blue #1B263B ΔE 0.051
- Jet #212529 ΔE 0.052
- Eggplant #380835 ΔE 0.053
- Very Dark Purple #2A0134 ΔE 0.058
- Dark Purple #35063E ΔE 0.059
- Midnight Purple #280137 ΔE 0.060
Use #26172E 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.