#03000C

Closest named color: Midnight (#03012D). oklch(8.3% 0.045 296.7), rgb(3, 0, 12).

Aa

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

About this color

#03000C is a very dark, muted purple. In OKLCH its lightness is 8%, its chroma 0.045 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.078 away. White text reads best on it, at 20.80:1.

Hue familyPurples
Lightnessvery dark (8%)
Chromamuted (0.045)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.00:1
White text20.80:1

Values

HEX#03000C
RGBrgb(3, 0, 12)
HSLhsl(255, 100%, 2%)
OKLCHoklch(8.3% 0.045 296.7)

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 #03000C 20.80:1 AAA Lc -107.9 Preferred for body text
Black text on #03000C 1.00:1 Fails Lc 0.0 Not readable
#03000C text on white 20.80:1 AAA Lc 106.0 Preferred for body text
#03000C text on black 1.00: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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F3

    oklch(93.7% 0.015 298.6)

  3. Step 200

    200

    #DBD5EB

    oklch(88.4% 0.031 298.2)

  4. Step 300

    300

    #C3BAE0

    oklch(80.9% 0.054 296)

  5. Step 400

    400

    #A696D0

    oklch(70.8% 0.085 296.8)

  6. Step 500

    500

    #907BC4

    oklch(63.2% 0.109 296.4)

  7. Step 600

    600

    #7B63B0

    oklch(55.7% 0.118 296.7)

  8. Step 700

    700

    #685198

    oklch(49.1% 0.112 297)

  9. Step 800

    800

    #54437B

    oklch(42.7% 0.092 296.3)

  10. Step 900

    900

    #453963

    oklch(37.7% 0.071 295.9)

  11. Step 950

    950 (this color)

    #03000C

    oklch(8.3% 0.045 296.7)

Export this scale for Tailwind in the Tailwind colors tool

#03000C 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)#00020D0.028
Deuteranopia (no green cones)#00010C0.025
Tritanopia (no blue cones)#0202040.036
Achromatopsia (no color)#0202020.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #03000C

    #03000C

    oklch(8.3% 0.045 296.7)

  • #020200

    #020200

    oklch(8.2% 0.018 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #03000C

    #03000C

    oklch(8.3% 0.045 296.7)

  • #00010E

    #00010E

    oklch(8.5% 0.044 263.4)

  • #050006

    #050006

    oklch(8.2% 0.039 324)

Open the analogous palette in the generator

Split complementary

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

  • #03000C

    #03000C

    oklch(8.3% 0.045 296.7)

  • #030200

    #030200

    oklch(8.6% 0.018 94.5)

  • #000300

    #000300

    oklch(8.4% 0.029 142.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #03000C

    #03000C

    oklch(8.3% 0.045 296.7)

  • #050100

    #050100

    oklch(8.3% 0.022 51.2)

  • #000302

    #000302

    oklch(8.7% 0.016 175)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #03000C

    #03000C

    oklch(8.3% 0.045 296.7)

  • #080000

    #080000

    oklch(8.4% 0.035 29.2)

  • #020200

    #020200

    oklch(8.2% 0.018 109.8)

  • #000303

    #000303

    oklch(8.8% 0.015 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #03000C 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.