#1A072F
Closest named color: Midnight Purple (#280137). oklch(18.8% 0.076 301.2), rgb(26, 7, 47).
Aa
White text reads best on this color (18.82:1).
About this color
#1A072F is a very dark, moderately saturated purple. In OKLCH its lightness is 19%, its chroma 0.076 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.038 away. White text reads best on it, at 18.82:1.
| Hue family | Purples |
| Lightness | very dark (19%) |
| Chroma | moderately saturated (0.076) |
| Temperature | in between |
| Nearest name | Midnight Purple (#280137) |
| Black text | 1.11:1 |
| White text | 18.82:1 |
Values
| HEX | #1A072F |
| RGB | rgb(26, 7, 47) |
| HSL | hsl(268, 74%, 11%) |
| OKLCH | oklch(18.8% 0.076 301.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 #1A072F | 18.82:1 | AAA | Lc -107.1 | Preferred for body text |
| Black text on #1A072F | 1.11:1 | Fails | Lc 0.0 | Not readable |
| #1A072F text on white | 18.82:1 | AAA | Lc 105.0 | Preferred for body text |
| #1A072F text on black | 1.11: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
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EDE6F9
oklch(93.6% 0.026 302.6)
-
Step 200
200
#DED2F6
oklch(88.5% 0.051 300.6)
-
Step 300
300
#CAB3F2
oklch(80.8% 0.091 301.1)
-
Step 400
400
#B189EB
oklch(70.7% 0.144 301.6)
-
Step 500
500
#9E68E5
oklch(63.1% 0.184 301.2)
-
Step 600
600
#8A4BD3
oklch(55.6% 0.201 301.4)
-
Step 700
700
#753BB7
oklch(49.1% 0.187 301.2)
-
Step 800
800
#5F3294
oklch(42.7% 0.154 301.2)
-
Step 900
900
#4D2E76
oklch(37.7% 0.119 300.7)
-
Step 950
950 (this color)
#1A072F
oklch(18.8% 0.076 301.2)
#1A072F 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) | #001130 | 0.054 |
| Deuteranopia (no green cones) | #00112E | 0.054 |
| Tritanopia (no blue cones) | #15101A | 0.055 |
| Achromatopsia (no color) | #111111 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1A072F
#1A072F
oklch(18.8% 0.076 301.2)
- #101600
#101600
oklch(18.7% 0.045 121.7)
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 #1A072F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Purple #280137 ΔE 0.038
- Very Dark Purple #2A0134 ΔE 0.041
- Midnight #03012D ΔE 0.064
- Dark Navy #000435 ΔE 0.064
- Rich Black #0D1B2A ΔE 0.066
- Navy Blue #001146 ΔE 0.068
- Night Blue #040348 ΔE 0.070
- Dark Purple #35063E ΔE 0.070
Use #1A072F 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.