#0D0D21

Closest named color: Rich Navy (#001219). oklch(17.2% 0.041 281.2), rgb(13, 13, 33).

Aa

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

About this color

#0D0D21 is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.041 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.036 away. White text reads best on it, at 19.14:1.

Hue familyPurples
Lightnessvery dark (17%)
Chromamuted (0.041)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.09:1
White text19.14:1

Values

HEX#0D0D21
RGBrgb(13, 13, 33)
HSLhsl(240, 43%, 9%)
OKLCHoklch(17.2% 0.041 281.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #0D0D21 19.14:1 AAA Lc -107.5 Preferred for body text
Black text on #0D0D21 1.09:1 Fails Lc 0.0 Not readable
#0D0D21 text on white 19.14:1 AAA Lc 105.5 Preferred for body text
#0D0D21 text on black 1.09: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D5D7EB

    oklch(88.4% 0.027 281.3)

  4. Step 300

    300

    #BBBEE0

    oklch(81% 0.048 281.3)

  5. Step 400

    400

    #989BD0

    oklch(70.6% 0.077 281.7)

  6. Step 500

    500

    #7F82C4

    oklch(63.1% 0.099 281.2)

  7. Step 600

    600

    #696BB1

    oklch(55.7% 0.108 281.1)

  8. Step 700

    700

    #575998

    oklch(49.2% 0.1 280.7)

  9. Step 800

    800

    #47497B

    oklch(42.7% 0.082 280.6)

  10. Step 900

    900

    #3C3D63

    oklch(37.7% 0.065 281.7)

  11. Step 950

    950 (this color)

    #0D0D21

    oklch(17.2% 0.041 281.2)

Export this scale for Tailwind in the Tailwind colors tool

#0D0D21 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)#0610220.015
Deuteranopia (no green cones)#050E210.015
Tritanopia (no blue cones)#0711150.035
Achromatopsia (no color)#0F0F0F0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D0D21

    #0D0D21

    oklch(17.2% 0.041 281.2)

  • #131000

    #131000

    oklch(17.1% 0.036 101.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D0D21

    #0D0D21

    oklch(17.2% 0.041 281.2)

  • #031021

    #031021

    oklch(17.1% 0.041 253.2)

  • #160A1D

    #160A1D

    oklch(17.3% 0.041 311.9)

Open the analogous palette in the generator

Split complementary

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

  • #0D0D21

    #0D0D21

    oklch(17.2% 0.041 281.2)

  • #1A0D00

    #1A0D00

    oklch(17.4% 0.037 72)

  • #091302

    #091302

    oklch(17.1% 0.04 131.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D0D21

    #0D0D21

    oklch(17.2% 0.041 281.2)

  • #1E0903

    #1E0903

    oklch(17.2% 0.04 41.5)

  • #00150A

    #00150A

    oklch(17.3% 0.039 160.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D0D21

    #0D0D21

    oklch(17.2% 0.041 281.2)

  • #1E070B

    #1E070B

    oklch(17.1% 0.041 11.1)

  • #131000

    #131000

    oklch(17.1% 0.036 101.6)

  • #001413

    #001413

    oklch(17.3% 0.03 190.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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