#0B051A

Closest named color: Midnight (#03012D). oklch(14.1% 0.046 294.5), rgb(11, 5, 26).

Aa

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

About this color

#0B051A is a very dark, muted purple. In OKLCH its lightness is 14%, its chroma 0.046 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.050 away. White text reads best on it, at 19.98:1.

Hue familyPurples
Lightnessvery dark (14%)
Chromamuted (0.046)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.05:1
White text19.98:1

Values

HEX#0B051A
RGBrgb(11, 5, 26)
HSLhsl(257, 68%, 6%)
OKLCHoklch(14.1% 0.046 294.5)

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 #0B051A 19.98:1 AAA Lc -107.7 Preferred for body text
Black text on #0B051A 1.05:1 Fails Lc 0.0 Not readable
#0B051A text on white 19.98:1 AAA Lc 105.8 Preferred for body text
#0B051A 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #DAD6EC

    oklch(88.6% 0.03 294.1)

  4. Step 300

    300

    #C2BAE1

    oklch(80.8% 0.055 294.5)

  5. Step 400

    400

    #A496D2

    oklch(70.7% 0.088 294.8)

  6. Step 500

    500

    #8E7BC6

    oklch(63.1% 0.112 294.6)

  7. Step 600

    600

    #7863B2

    oklch(55.5% 0.121 294.4)

  8. Step 700

    700

    #655299

    oklch(49.1% 0.112 294.2)

  9. Step 800

    800

    #53437C

    oklch(42.6% 0.093 295.1)

  10. Step 900

    900

    #443964

    oklch(37.6% 0.073 294.4)

  11. Step 950

    950 (this color)

    #0B051A

    oklch(14.1% 0.046 294.5)

Export this scale for Tailwind in the Tailwind colors tool

#0B051A 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)#00091B0.031
Deuteranopia (no green cones)#01081A0.028
Tritanopia (no blue cones)#07090D0.038
Achromatopsia (no color)#0808080.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B051A

    #0B051A

    oklch(14.1% 0.046 294.5)

  • #090B00

    #090B00

    oklch(14.2% 0.032 115.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B051A

    #0B051A

    oklch(14.1% 0.046 294.5)

  • #02081C

    #02081C

    oklch(14.1% 0.046 262.8)

  • #120314

    #120314

    oklch(14.1% 0.047 323.5)

Open the analogous palette in the generator

Split complementary

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

  • #0B051A

    #0B051A

    oklch(14.1% 0.046 294.5)

  • #0F0800

    #0F0800

    oklch(14.1% 0.029 83)

  • #000E01

    #000E01

    oklch(14.2% 0.045 145.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B051A

    #0B051A

    oklch(14.1% 0.046 294.5)

  • #140500

    #140500

    oklch(14% 0.035 53.1)

  • #000D09

    #000D09

    oklch(14.2% 0.027 175.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B051A

    #0B051A

    oklch(14.1% 0.046 294.5)

  • #180202

    #180202

    oklch(14% 0.046 25.4)

  • #090B00

    #090B00

    oklch(14.2% 0.032 115.9)

  • #000C0E

    #000C0E

    oklch(14.1% 0.024 205.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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