#0C0008

Closest named color: Very Dark Brown (#1D0200). oklch(10.5% 0.046 338.3), rgb(12, 0, 8).

Aa

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

About this color

#0C0008 is a very dark, muted purple. In OKLCH its lightness is 10%, its chroma 0.046 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.066 away. White text reads best on it, at 20.60:1.

Hue familyPurples
Lightnessvery dark (10%)
Chromamuted (0.046)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.01:1
White text20.60:1

Values

HEX#0C0008
RGBrgb(12, 0, 8)
HSLhsl(320, 100%, 2%)
OKLCHoklch(10.5% 0.046 338.3)

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 #0C0008 20.60:1 AAA Lc -107.8 Preferred for body text
Black text on #0C0008 1.01:1 Fails Lc 0.0 Not readable
#0C0008 text on white 20.60:1 AAA Lc 106.0 Preferred for body text
#0C0008 text on black 1.01: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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6ED

    oklch(93.6% 0.015 338.9)

  3. Step 200

    200

    #E7D2E0

    oklch(88.5% 0.03 337.9)

  4. Step 300

    300

    #D9B4CD

    oklch(81% 0.054 338.1)

  5. Step 400

    400

    #C58CB3

    oklch(70.8% 0.086 338.7)

  6. Step 500

    500

    #B56EA0

    oklch(63.1% 0.111 338.7)

  7. Step 600

    600

    #A0558B

    oklch(55.6% 0.12 338.7)

  8. Step 700

    700

    #884576

    oklch(49.1% 0.111 338.3)

  9. Step 800

    800

    #6F3960

    oklch(42.7% 0.093 338.6)

  10. Step 900

    900

    #5A314F

    oklch(37.6% 0.074 337.8)

  11. Step 950

    950 (this color)

    #0C0008

    oklch(10.5% 0.046 338.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C0008 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)#0002080.055
Deuteranopia (no green cones)#0304080.043
Tritanopia (no blue cones)#0D00020.023
Achromatopsia (no color)#0303030.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C0008

    #0C0008

    oklch(10.5% 0.046 338.3)

  • #000602

    #000602

    oklch(10.7% 0.026 156.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C0008

    #0C0008

    oklch(10.5% 0.046 338.3)

  • #07010F

    #07010F

    oklch(10.6% 0.044 306.8)

  • #0E0002

    #0E0002

    oklch(10.5% 0.042 9.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C0008

    #0C0008

    oklch(10.5% 0.046 338.3)

  • #020500

    #020500

    oklch(10.5% 0.028 129.9)

  • #000505

    #000505

    oklch(10.4% 0.018 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C0008

    #0C0008

    oklch(10.5% 0.046 338.3)

  • #050400

    #050400

    oklch(10.6% 0.022 101.8)

  • #000507

    #000507

    oklch(10.6% 0.019 214.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C0008

    #0C0008

    oklch(10.5% 0.046 338.3)

  • #080300

    #080300

    oklch(10.6% 0.023 70.5)

  • #000602

    #000602

    oklch(10.7% 0.026 156.7)

  • #00040C

    #00040C

    oklch(10.4% 0.028 247.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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