#271A28
Closest named color: Dark (#1B2431). oklch(24% 0.032 324.1), rgb(39, 26, 40).
Aa
White text reads best on this color (16.60:1).
About this color
#271A28 is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.032 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.038 away. White text reads best on it, at 16.60:1.
| Hue family | Purples |
| Lightness | very dark (24%) |
| Chroma | muted (0.032) |
| Temperature | in between |
| Nearest name | Dark (#1B2431) |
| Black text | 1.26:1 |
| White text | 16.60:1 |
Values
| HEX | #271A28 |
| RGB | rgb(39, 26, 40) |
| HSL | hsl(296, 21%, 13%) |
| OKLCH | oklch(24% 0.032 324.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 #271A28 | 16.60:1 | AAA | Lc -106.0 | Preferred for body text |
| Black text on #271A28 | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #271A28 text on white | 16.60:1 | AAA | Lc 103.5 | Preferred for body text |
| #271A28 text on black | 1.26: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
#F7F4F7
oklch(97% 0.005 325.6)
-
Step 100
100
#EEE7EE
oklch(93.5% 0.012 325.7)
-
Step 200
200
#E0D5E1
oklch(88.5% 0.02 323.2)
-
Step 300
300
#CDB9CF
oklch(80.9% 0.038 323.1)
-
Step 400
400
#B494B6
oklch(70.7% 0.061 324.3)
-
Step 500
500
#A179A4
oklch(63% 0.078 324.1)
-
Step 600
600
#8C628F
oklch(55.6% 0.084 324.4)
-
Step 700
700
#77517A
oklch(49.1% 0.079 324.2)
-
Step 800
800
#614263
oklch(42.6% 0.066 324.6)
-
Step 900
900
#4F3851
oklch(37.6% 0.051 323.8)
-
Step 950
950 (this color)
#271A28
oklch(24% 0.032 324.1)
#271A28 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) | #191D29 | 0.028 |
| Deuteranopia (no green cones) | #1C1F28 | 0.026 |
| Tritanopia (no blue cones) | #281B1F | 0.019 |
| Achromatopsia (no color) | #1E1E1E | 0.033 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271A28
#271A28
oklch(24% 0.032 324.1)
- #162315
#162315
oklch(23.9% 0.032 142.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 #271A28, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.038
- Jet #212529 ΔE 0.038
- Rich Black #0D1B2A ΔE 0.046
- Oxford Blue #1B263B ΔE 0.049
- Eggplant #380835 ΔE 0.063
- Aubergine #3D0734 ΔE 0.069
- Dark Brown #341C02 ΔE 0.069
- Space Cadet #2B2D42 ΔE 0.070
Use #271A28 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.