#140520
Closest named color: Midnight (#03012D). oklch(16% 0.058 307.4), rgb(20, 5, 32).
Aa
White text reads best on this color (19.58:1).
About this color
#140520 is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.058 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.057 away. White text reads best on it, at 19.58:1.
| Hue family | Purples |
| Lightness | very dark (16%) |
| Chroma | muted (0.058) |
| Temperature | in between |
| Nearest name | Midnight (#03012D) |
| Black text | 1.07:1 |
| White text | 19.58:1 |
Values
| HEX | #140520 |
| RGB | rgb(20, 5, 32) |
| HSL | hsl(273, 73%, 7%) |
| OKLCH | oklch(16% 0.058 307.4) |
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 #140520 | 19.58:1 | AAA | Lc -107.5 | Preferred for body text |
| Black text on #140520 | 1.07:1 | Fails | Lc 0.0 | Not readable |
| #140520 text on white | 19.58:1 | AAA | Lc 105.6 | Preferred for body text |
| #140520 text on black | 1.07: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
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EDE7F4
oklch(93.6% 0.018 306.7)
-
Step 200
200
#E0D3ED
oklch(88.5% 0.038 308)
-
Step 300
300
#CCB5E4
oklch(80.8% 0.07 307)
-
Step 400
400
#B38ED6
oklch(70.7% 0.11 307.3)
-
Step 500
500
#A070CA
oklch(63% 0.139 307.4)
-
Step 600
600
#8B57B7
oklch(55.6% 0.151 307.2)
-
Step 700
700
#76469E
oklch(49.1% 0.142 307.1)
-
Step 800
800
#603A80
oklch(42.7% 0.117 307.2)
-
Step 900
900
#4F3367
oklch(37.8% 0.091 307.4)
-
Step 950
950 (this color)
#140520
oklch(16% 0.058 307.4)
#140520 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) | #000B21 | 0.049 |
| Deuteranopia (no green cones) | #020C1F | 0.045 |
| Tritanopia (no blue cones) | #120A11 | 0.040 |
| Achromatopsia (no color) | #0C0C0C | 0.058 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #140520
#140520
oklch(16% 0.058 307.4)
- #081000
#081000
oklch(15.9% 0.041 127.6)
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 #140520, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.057
- Almost Black #070D0D ΔE 0.063
- Rich Navy #001219 ΔE 0.064
- Dark Navy Blue #00022E ΔE 0.064
- Midnight Purple #280137 ΔE 0.066
- Very Dark Purple #2A0134 ΔE 0.066
- Dark Navy #000435 ΔE 0.067
- Very Dark Blue #000133 ΔE 0.070
Use #140520 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.