#0D0823

Closest named color: Midnight (#03012D). oklch(16.1% 0.054 287.4), rgb(13, 8, 35).

Aa

White text reads best on this color (19.51:1).

About this color

#0D0823 is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.054 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.044 away. White text reads best on it, at 19.51:1.

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.054)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.07:1
White text19.51:1

Values

HEX#0D0823
RGBrgb(13, 8, 35)
HSLhsl(251, 63%, 8%)
OKLCHoklch(16.1% 0.054 287.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #0D0823 19.51:1 AAA Lc -107.6 Preferred for body text
Black text on #0D0823 1.07:1 Fails Lc 0.0 Not readable
#0D0823 text on white 19.51:1 AAA Lc 105.6 Preferred for body text
#0D0823 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.

  1. Step 50

    50

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D7D6F0

    oklch(88.5% 0.036 287.4)

  4. Step 300

    300

    #BDBBE9

    oklch(80.9% 0.064 286.9)

  5. Step 400

    400

    #9D96DD

    oklch(70.6% 0.103 288)

  6. Step 500

    500

    #867BD4

    oklch(63.1% 0.131 287.7)

  7. Step 600

    600

    #7062C1

    oklch(55.5% 0.143 287.6)

  8. Step 700

    700

    #5E51A7

    oklch(49.1% 0.133 287.4)

  9. Step 800

    800

    #4D4387

    oklch(42.8% 0.109 287.6)

  10. Step 900

    900

    #3F396C

    oklch(37.7% 0.085 286.9)

  11. Step 950

    950 (this color)

    #0D0823

    oklch(16.1% 0.054 287.4)

Export this scale for Tailwind in the Tailwind colors tool

#0D0823 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#000D240.030
Deuteranopia (no green cones)#000C220.030
Tritanopia (no blue cones)#060E140.044
Achromatopsia (no color)#0C0C0C0.055

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #0D0823

    #0D0823

    oklch(16.1% 0.054 287.4)

  • #0F0E00

    #0F0E00

    oklch(16% 0.034 106.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D0823

    #0D0823

    oklch(16.1% 0.054 287.4)

  • #010C24

    #010C24

    oklch(16% 0.055 258.7)

  • #17051C

    #17051C

    oklch(16.2% 0.054 318.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #0D0823

    #0D0823

    oklch(16.1% 0.054 287.4)

  • #150B00

    #150B00

    oklch(16% 0.033 77.5)

  • #031200

    #031200

    oklch(16.1% 0.05 137.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D0823

    #0D0823

    oklch(16.1% 0.054 287.4)

  • #1C0600

    #1C0600

    oklch(16% 0.045 46.2)

  • #00120B

    #00120B

    oklch(16.2% 0.033 168.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D0823

    #0D0823

    oklch(16.1% 0.054 287.4)

  • #200205

    #200205

    oklch(16% 0.056 17.6)

  • #0F0E00

    #0F0E00

    oklch(16% 0.034 106.9)

  • #001112

    #001112

    oklch(16.1% 0.027 199.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #0D0823, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #0D0823 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.