#0C091F

Closest named color: Rich Navy (#001219). oklch(15.9% 0.045 286.4), rgb(12, 9, 31).

Aa

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

About this color

#0C091F is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.045 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.043 away. White text reads best on it, at 19.54:1.

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.045)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.07:1
White text19.54:1

Values

HEX#0C091F
RGBrgb(12, 9, 31)
HSLhsl(248, 55%, 8%)
OKLCHoklch(15.9% 0.045 286.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 #0C091F 19.54:1 AAA Lc -107.6 Preferred for body text
Black text on #0C091F 1.07:1 Fails Lc 0.0 Not readable
#0C091F text on white 19.54:1 AAA Lc 105.7 Preferred for body text
#0C091F 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E9F4

    oklch(93.7% 0.015 286.1)

  3. Step 200

    200

    #D7D7EC

    oklch(88.6% 0.029 285.8)

  4. Step 300

    300

    #BDBCE2

    oklch(80.9% 0.053 286.3)

  5. Step 400

    400

    #9C99D4

    oklch(70.7% 0.086 286.3)

  6. Step 500

    500

    #847FC8

    oklch(63.1% 0.108 286)

  7. Step 600

    600

    #6F67B5

    oklch(55.6% 0.119 286.6)

  8. Step 700

    700

    #5D559C

    oklch(49.1% 0.111 286.7)

  9. Step 800

    800

    #4C467E

    oklch(42.7% 0.091 286.8)

  10. Step 900

    900

    #3F3B65

    oklch(37.6% 0.071 286.8)

  11. Step 950

    950 (this color)

    #0C091F

    oklch(15.9% 0.045 286.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C091F 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)#020D200.023
Deuteranopia (no green cones)#020C1F0.023
Tritanopia (no blue cones)#060E120.039
Achromatopsia (no color)#0C0C0C0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C091F

    #0C091F

    oklch(15.9% 0.045 286.4)

  • #0F0E00

    #0F0E00

    oklch(16% 0.034 106.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C091F

    #0C091F

    oklch(15.9% 0.045 286.4)

  • #020D20

    #020D20

    oklch(16% 0.045 256.4)

  • #14061A

    #14061A

    oklch(15.8% 0.046 315.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C091F

    #0C091F

    oklch(15.9% 0.045 286.4)

  • #150B00

    #150B00

    oklch(16% 0.033 77.5)

  • #041101

    #041101

    oklch(15.9% 0.044 137.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C091F

    #0C091F

    oklch(15.9% 0.045 286.4)

  • #1C0600

    #1C0600

    oklch(16% 0.045 46.2)

  • #00110A

    #00110A

    oklch(15.8% 0.032 167.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C091F

    #0C091F

    oklch(15.9% 0.045 286.4)

  • #1C0407

    #1C0407

    oklch(15.7% 0.045 14)

  • #0F0E00

    #0F0E00

    oklch(16% 0.034 106.9)

  • #001011

    #001011

    oklch(15.7% 0.027 199.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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