#1A0827
Closest named color: Midnight Purple (#280137). oklch(18.3% 0.063 308.2), rgb(26, 8, 39).
Aa
White text reads best on this color (18.95:1).
About this color
#1A0827 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.063 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.047 away. White text reads best on it, at 18.95:1.
| Hue family | Purples |
| Lightness | very dark (18%) |
| Chroma | muted (0.063) |
| Temperature | in between |
| Nearest name | Midnight Purple (#280137) |
| Black text | 1.10:1 |
| White text | 18.95:1 |
Values
| HEX | #1A0827 |
| RGB | rgb(26, 8, 39) |
| HSL | hsl(275, 66%, 9%) |
| OKLCH | oklch(18.3% 0.063 308.2) |
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 #1A0827 | 18.95:1 | AAA | Lc -107.3 | Preferred for body text |
| Black text on #1A0827 | 1.10:1 | Fails | Lc 0.0 | Not readable |
| #1A0827 text on white | 18.95:1 | AAA | Lc 105.2 | Preferred for body text |
| #1A0827 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
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EEE6F5
oklch(93.6% 0.022 309.6)
-
Step 200
200
#E1D2EF
oklch(88.5% 0.042 308.6)
-
Step 300
300
#CEB4E6
oklch(80.9% 0.075 308.3)
-
Step 400
400
#B58CDA
oklch(70.8% 0.119 307.7)
-
Step 500
500
#A36DCF
oklch(63.1% 0.151 308.1)
-
Step 600
600
#8E52BC
oklch(55.5% 0.166 308)
-
Step 700
700
#7942A2
oklch(49.1% 0.154 308.2)
-
Step 800
800
#633783
oklch(42.7% 0.127 308.7)
-
Step 900
900
#503169
oklch(37.7% 0.098 307.9)
-
Step 950
950 (this color)
#1A0827
oklch(18.3% 0.063 308.2)
#1A0827 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) | #001028 | 0.055 |
| Deuteranopia (no green cones) | #041126 | 0.049 |
| Tritanopia (no blue cones) | #180E16 | 0.044 |
| Achromatopsia (no color) | #111111 | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1A0827
#1A0827
oklch(18.3% 0.063 308.2)
- #0C1600
#0C1600
oklch(18.3% 0.048 128)
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 #1A0827, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Purple #280137 ΔE 0.047
- Very Dark Purple #2A0134 ΔE 0.047
- Rich Black #0D1B2A ΔE 0.063
- Midnight #03012D ΔE 0.068
- Rich Navy #001219 ΔE 0.069
- Dark Navy #000435 ΔE 0.071
- Almost Black #070D0D ΔE 0.074
- Dark Navy Blue #00022E ΔE 0.074
Use #1A0827 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.