#0B071E

Closest named color: Midnight (#03012D). oklch(15.1% 0.048 287.8), rgb(11, 7, 30).

Aa

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

About this color

#0B071E is a very dark, muted purple. In OKLCH its lightness is 15%, its chroma 0.048 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.045 away. White text reads best on it, at 19.74:1.

Hue familyPurples
Lightnessvery dark (15%)
Chromamuted (0.048)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.06:1
White text19.74:1

Values

HEX#0B071E
RGBrgb(11, 7, 30)
HSLhsl(250, 62%, 7%)
OKLCHoklch(15.1% 0.048 287.8)

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 #0B071E 19.74:1 AAA Lc -107.7 Preferred for body text
Black text on #0B071E 1.06:1 Fails Lc 0.0 Not readable
#0B071E text on white 19.74:1 AAA Lc 105.7 Preferred for body text
#0B071E text on black 1.06: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

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D7D6ED

    oklch(88.4% 0.031 287.7)

  4. Step 300

    300

    #BEBCE4

    oklch(81% 0.056 287.4)

  5. Step 400

    400

    #9D98D6

    oklch(70.7% 0.09 287.6)

  6. Step 500

    500

    #867DCB

    oklch(63% 0.116 287.9)

  7. Step 600

    600

    #7065B8

    oklch(55.5% 0.126 287.6)

  8. Step 700

    700

    #5E549F

    oklch(49.2% 0.117 287.4)

  9. Step 800

    800

    #4D4580

    oklch(42.7% 0.096 287.9)

  10. Step 900

    900

    #403A67

    oklch(37.6% 0.076 288.3)

  11. Step 950

    950 (this color)

    #0B071E

    oklch(15.1% 0.048 287.8)

Export this scale for Tailwind in the Tailwind colors tool

#0B071E 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)#000B1F0.028
Deuteranopia (no green cones)#000A1D0.028
Tritanopia (no blue cones)#060C110.039
Achromatopsia (no color)#0A0A0A0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B071E

    #0B071E

    oklch(15.1% 0.048 287.8)

  • #0D0C00

    #0D0C00

    oklch(15.1% 0.032 106.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B071E

    #0B071E

    oklch(15.1% 0.048 287.8)

  • #010B1F

    #010B1F

    oklch(15.2% 0.047 256.8)

  • #130518

    #130518

    oklch(15.2% 0.046 317)

Open the analogous palette in the generator

Split complementary

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

  • #0B071E

    #0B071E

    oklch(15.1% 0.048 287.8)

  • #130900

    #130900

    oklch(15.1% 0.032 75)

  • #031000

    #031000

    oklch(15.3% 0.047 137.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B071E

    #0B071E

    oklch(15.1% 0.048 287.8)

  • #190500

    #190500

    oklch(15.1% 0.042 46.1)

  • #000F09

    #000F09

    oklch(15% 0.03 169.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B071E

    #0B071E

    oklch(15.1% 0.048 287.8)

  • #1B0305

    #1B0305

    oklch(15.1% 0.046 17.3)

  • #0D0C00

    #0D0C00

    oklch(15.1% 0.032 106.7)

  • #000F0F

    #000F0F

    oklch(15.2% 0.026 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 #0B071E, closest first.

Similar named colors

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

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