#270217
Closest named color: Very Dark Purple (#2A0134). oklch(18.4% 0.07 349.6), rgb(39, 2, 23).
Aa
White text reads best on this color (18.96:1).
About this color
#270217 is a very dark, moderately saturated red. In OKLCH its lightness is 18%, its chroma 0.070 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.059 away. White text reads best on it, at 18.96:1.
| Hue family | Reds |
| Lightness | very dark (18%) |
| Chroma | moderately saturated (0.070) |
| Temperature | warm |
| Nearest name | Very Dark Purple (#2A0134) |
| Black text | 1.10:1 |
| White text | 18.96:1 |
Values
| HEX | #270217 |
| RGB | rgb(39, 2, 23) |
| HSL | hsl(326, 90%, 8%) |
| OKLCH | oklch(18.4% 0.07 349.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 #270217 | 18.96:1 | AAA | Lc -107.0 | Preferred for body text |
| Black text on #270217 | 1.10:1 | Fails | Lc 0.0 | Not readable |
| #270217 text on white | 18.96:1 | AAA | Lc 104.9 | Preferred for body text |
| #270217 text on black | 1.10: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
#FCF3F6
oklch(97.2% 0.01 354.9)
-
Step 100
100
#F7E4EC
oklch(93.6% 0.023 350.1)
-
Step 200
200
#F2CDDE
oklch(88.5% 0.047 348.7)
-
Step 300
300
#EAABC8
oklch(80.8% 0.082 349.9)
-
Step 400
400
#DD7CAD
oklch(70.7% 0.133 349.4)
-
Step 500
500
#D15698
oklch(63% 0.17 349.8)
-
Step 600
600
#BC3783
oklch(55.6% 0.184 349.6)
-
Step 700
700
#A2276F
oklch(49.1% 0.172 349.6)
-
Step 800
800
#83235A
oklch(42.6% 0.142 349.6)
-
Step 900
900
#6A234A
oklch(37.7% 0.111 349.7)
-
Step 950
950 (this color)
#270217
oklch(18.4% 0.07 349.6)
#270217 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) | #070C18 | 0.078 |
| Deuteranopia (no green cones) | #121316 | 0.069 |
| Tritanopia (no blue cones) | #2B010A | 0.028 |
| Achromatopsia (no color) | #101010 | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #270217
#270217
oklch(18.4% 0.07 349.6)
- #001810
#001810
oklch(18.6% 0.037 169.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 #270217, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Purple #2A0134 ΔE 0.059
- Very Dark Brown #1D0200 ΔE 0.060
- Dark Maroon #3C0008 ΔE 0.062
- Midnight Purple #280137 ΔE 0.065
- Dark Plum #3F012C ΔE 0.071
- Eggplant #380835 ΔE 0.072
- Aubergine #3D0734 ΔE 0.078
- Deep Brown #410200 ΔE 0.082
Use #270217 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.