#0F0828
Closest named color: Midnight (#03012D). oklch(16.9% 0.063 288), rgb(15, 8, 40).
Aa
White text reads best on this color (19.34:1).
About this color
#0F0828 is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.063 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.043 away. White text reads best on it, at 19.34:1.
| Hue family | Purples |
| Lightness | very dark (17%) |
| Chroma | muted (0.063) |
| Temperature | cool |
| Nearest name | Midnight (#03012D) |
| Black text | 1.08:1 |
| White text | 19.34:1 |
Values
| HEX | #0F0828 |
| RGB | rgb(15, 8, 40) |
| HSL | hsl(253, 67%, 9%) |
| OKLCH | oklch(16.9% 0.063 288) |
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 #0F0828 | 19.34:1 | AAA | Lc -107.5 | Preferred for body text |
| Black text on #0F0828 | 1.08:1 | Fails | Lc 0.0 | Not readable |
| #0F0828 text on white | 19.34:1 | AAA | Lc 105.5 | Preferred for body text |
| #0F0828 text on black | 1.08: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
#F5F5FC
oklch(97.2% 0.009 286.2)
-
Step 100
100
#E9E8F8
oklch(93.6% 0.021 288.9)
-
Step 200
200
#D7D5F4
oklch(88.4% 0.042 288.5)
-
Step 300
300
#BEBAEE
oklch(81% 0.073 288.2)
-
Step 400
400
#9D94E6
oklch(70.7% 0.118 288)
-
Step 500
500
#8677DF
oklch(63% 0.152 287.8)
-
Step 600
600
#715ECC
oklch(55.6% 0.164 287.8)
-
Step 700
700
#5F4DB1
oklch(49.2% 0.153 287.7)
-
Step 800
800
#4E3F8F
oklch(42.6% 0.127 288.4)
-
Step 900
900
#403772
oklch(37.7% 0.098 287.8)
-
Step 950
950 (this color)
#0F0828
oklch(16.9% 0.063 288)
#0F0828 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) | #000E29 | 0.033 |
| Deuteranopia (no green cones) | #000D27 | 0.033 |
| Tritanopia (no blue cones) | #071016 | 0.053 |
| Achromatopsia (no color) | #0E0E0E | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0F0828
#0F0828
oklch(16.9% 0.063 288)
- #111000
#111000
oklch(16.9% 0.036 107.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 #0F0828, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.043
- Dark Navy #000435 ΔE 0.047
- Dark Navy Blue #00022E ΔE 0.048
- Very Dark Blue #000133 ΔE 0.052
- Rich Navy #001219 ΔE 0.057
- Rich Black #0D1B2A ΔE 0.063
- Almost Black #070D0D ΔE 0.066
- Midnight Purple #280137 ΔE 0.066
Use #0F0828 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.