#28164D
Closest named color: Dark Indigo (#1F0954). oklch(26% 0.096 293.7), rgb(40, 22, 77).
Aa
White text reads best on this color (16.00:1).
About this color
#28164D is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.096 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.036 away. White text reads best on it, at 16.00:1.
| Hue family | Purples |
| Lightness | dark (26%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Dark Indigo (#1F0954) |
| Black text | 1.31:1 |
| White text | 16.00:1 |
Values
| HEX | #28164D |
| RGB | rgb(40, 22, 77) |
| HSL | hsl(260, 56%, 19%) |
| OKLCH | oklch(26% 0.096 293.7) |
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 #28164D | 16.00:1 | AAA | Lc -105.3 | Preferred for body text |
| Black text on #28164D | 1.31:1 | Fails | Lc 0.0 | Not readable |
| #28164D text on white | 16.00:1 | AAA | Lc 102.7 | Preferred for body text |
| #28164D text on black | 1.31: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
#F6F4FF
oklch(97.2% 0.015 294.5)
-
Step 100
100
#EAE6FE
oklch(93.5% 0.032 293.4)
-
Step 200
200
#DAD2FF
oklch(88.5% 0.062 293.2)
-
Step 300
300
#C4B4FF
oklch(81% 0.106 293.7)
-
Step 400
400
#A788FF
oklch(70.7% 0.17 293.6)
-
Step 500
500
#9463FF
oklch(63.1% 0.221 293.5)
-
Step 600
600
#823CF5
oklch(55.6% 0.253 293.6)
-
Step 700
700
#6F2AD5
oklch(49.1% 0.236 294)
-
Step 800
800
#5A27AC
oklch(42.7% 0.194 293.9)
-
Step 900
900
#492788
oklch(37.6% 0.152 293.9)
-
Step 950
950 (this color)
#28164D
oklch(26% 0.096 293.7)
#28164D 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) | #00224F | 0.060 |
| Deuteranopia (no green cones) | #00214C | 0.060 |
| Tritanopia (no blue cones) | #1E232F | 0.076 |
| Achromatopsia (no color) | #222222 | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #28164D
#28164D
oklch(26% 0.096 293.7)
- #242700
#242700
oklch(26.1% 0.059 114.1)
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 #28164D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Indigo #1F0954 ΔE 0.036
- Dark Purple #35063E ΔE 0.050
- Deep Purple #36013F ΔE 0.056
- Midnight Purple #280137 ΔE 0.062
- Eggplant #380835 ΔE 0.063
- Oxford Blue #1B263B ΔE 0.064
- Very Dark Purple #2A0134 ΔE 0.066
- Eggplant Purple #430541 ΔE 0.069
Use #28164D 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.