#10031D

Closest named color: Midnight (#03012D). oklch(14.5% 0.058 305), rgb(16, 3, 29).

Aa

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

About this color

#10031D is a very dark, muted purple. In OKLCH its lightness is 15%, its chroma 0.058 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.052 away. White text reads best on it, at 19.94:1.

Hue familyPurples
Lightnessvery dark (15%)
Chromamuted (0.058)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.05:1
White text19.94:1

Values

HEX#10031D
RGBrgb(16, 3, 29)
HSLhsl(270, 81%, 6%)
OKLCHoklch(14.5% 0.058 305)

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 #10031D 19.94:1 AAA Lc -107.7 Preferred for body text
Black text on #10031D 1.05:1 Fails Lc 0.0 Not readable
#10031D text on white 19.94:1 AAA Lc 105.7 Preferred for body text
#10031D text on black 1.05: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F5

    oklch(93.7% 0.02 305.3)

  3. Step 200

    200

    #DFD3EE

    oklch(88.5% 0.039 305.6)

  4. Step 300

    300

    #CBB6E5

    oklch(80.9% 0.069 305.2)

  5. Step 400

    400

    #B08FD8

    oklch(70.7% 0.11 304.5)

  6. Step 500

    500

    #9D71CD

    oklch(63.1% 0.14 304.8)

  7. Step 600

    600

    #8857BA

    oklch(55.5% 0.154 304.8)

  8. Step 700

    700

    #7447A0

    oklch(49.1% 0.142 305.1)

  9. Step 800

    800

    #5E3B82

    oklch(42.7% 0.118 304.7)

  10. Step 900

    900

    #4D3368

    oklch(37.7% 0.092 305.1)

  11. Step 950

    950 (this color)

    #10031D

    oklch(14.5% 0.058 305)

Export this scale for Tailwind in the Tailwind colors tool

#10031D 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)#00081E0.044
Deuteranopia (no green cones)#00091C0.046
Tritanopia (no blue cones)#0E070E0.040
Achromatopsia (no color)#0909090.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #10031D

    #10031D

    oklch(14.5% 0.058 305)

  • #070D00

    #070D00

    oklch(14.7% 0.037 125.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #10031D

    #10031D

    oklch(14.5% 0.058 305)

  • #050622

    #050622

    oklch(14.5% 0.059 274.2)

  • #170113

    #170113

    oklch(14.4% 0.058 335.1)

Open the analogous palette in the generator

Split complementary

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

  • #10031D

    #10031D

    oklch(14.5% 0.058 305)

  • #0E0A00

    #0E0A00

    oklch(14.6% 0.03 96)

  • #000E04

    #000E04

    oklch(14.4% 0.036 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #10031D

    #10031D

    oklch(14.5% 0.058 305)

  • #130700

    #130700

    oklch(14.5% 0.032 65.4)

  • #000E0C

    #000E0C

    oklch(14.7% 0.026 185.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #10031D

    #10031D

    oklch(14.5% 0.058 305)

  • #1B0200

    #1B0200

    oklch(14.6% 0.051 35)

  • #070D00

    #070D00

    oklch(14.7% 0.037 125.7)

  • #000D11

    #000D11

    oklch(14.6% 0.026 214.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #10031D 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.