#28051B
Closest named color: Very Dark Purple (#2A0134). oklch(19.4% 0.066 345.8), rgb(40, 5, 27).
Aa
White text reads best on this color (18.62:1).
About this color
#28051B is a very dark, muted red. In OKLCH its lightness is 19%, its chroma 0.066 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.052 away. White text reads best on it, at 18.62:1.
| Hue family | Reds |
| Lightness | very dark (19%) |
| Chroma | muted (0.066) |
| Temperature | warm |
| Nearest name | Very Dark Purple (#2A0134) |
| Black text | 1.12:1 |
| White text | 18.62:1 |
Values
| HEX | #28051B |
| RGB | rgb(40, 5, 27) |
| HSL | hsl(322, 78%, 9%) |
| OKLCH | oklch(19.4% 0.066 345.8) |
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 #28051B | 18.62:1 | AAA | Lc -106.9 | Preferred for body text |
| Black text on #28051B | 1.12:1 | Fails | Lc 0.0 | Not readable |
| #28051B text on white | 18.62:1 | AAA | Lc 104.8 | Preferred for body text |
| #28051B text on black | 1.12: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
#FBF3F7
oklch(97.1% 0.01 345.4)
-
Step 100
100
#F6E4ED
oklch(93.6% 0.023 345.8)
-
Step 200
200
#F0CEDF
oklch(88.5% 0.044 346.4)
-
Step 300
300
#E7ADCB
oklch(81% 0.078 346.6)
-
Step 400
400
#D87FB1
oklch(70.7% 0.125 346)
-
Step 500
500
#CB5B9E
oklch(63.1% 0.161 345.8)
-
Step 600
600
#B63D89
oklch(55.5% 0.175 345.7)
-
Step 700
700
#9C2E74
oklch(49% 0.162 345.7)
-
Step 800
800
#7F285E
oklch(42.7% 0.134 346.1)
-
Step 900
900
#67264D
oklch(37.7% 0.105 346.3)
-
Step 950
950 (this color)
#28051B
oklch(19.4% 0.066 345.8)
#28051B 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) | #090F1C | 0.073 |
| Deuteranopia (no green cones) | #13151A | 0.065 |
| Tritanopia (no blue cones) | #2B050E | 0.028 |
| Achromatopsia (no color) | #131313 | 0.067 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #28051B
#28051B
oklch(19.4% 0.066 345.8)
- #001A10
#001A10
oklch(19.3% 0.04 165.5)
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 #28051B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Purple #2A0134 ΔE 0.052
- Midnight Purple #280137 ΔE 0.058
- Dark Maroon #3C0008 ΔE 0.061
- Eggplant #380835 ΔE 0.063
- Dark Plum #3F012C ΔE 0.064
- Very Dark Brown #1D0200 ΔE 0.067
- Aubergine #3D0734 ΔE 0.069
- Dark Purple #35063E ΔE 0.073
Use #28051B 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.