#0B0728

Closest named color: Midnight (#03012D). oklch(16.2% 0.065 282.2), rgb(11, 7, 40).

Aa

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

About this color

#0B0728 is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.065 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.034 away. White text reads best on it, at 19.53:1.

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.065)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.07:1
White text19.53:1

Values

HEX#0B0728
RGBrgb(11, 7, 40)
HSLhsl(247, 70%, 9%)
OKLCHoklch(16.2% 0.065 282.2)

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 #0B0728 19.53:1 AAA Lc -107.5 Preferred for body text
Black text on #0B0728 1.07:1 Fails Lc 0.0 Not readable
#0B0728 text on white 19.53:1 AAA Lc 105.5 Preferred for body text
#0B0728 text on black 1.07: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E8F9

    oklch(93.5% 0.023 283.3)

  3. Step 200

    200

    #D4D6F5

    oklch(88.4% 0.043 282.6)

  4. Step 300

    300

    #B8BBF2

    oklch(80.9% 0.077 282.1)

  5. Step 400

    400

    #9596EB

    oklch(70.7% 0.123 282.3)

  6. Step 500

    500

    #7D7AE5

    oklch(63.2% 0.157 282.2)

  7. Step 600

    600

    #6760D3

    oklch(55.6% 0.171 282)

  8. Step 700

    700

    #564FB7

    oklch(49.2% 0.159 281.9)

  9. Step 800

    800

    #464194

    oklch(42.7% 0.132 281.9)

  10. Step 900

    900

    #3B3876

    oklch(37.8% 0.103 282.5)

  11. Step 950

    950 (this color)

    #0B0728

    oklch(16.2% 0.065 282.2)

Export this scale for Tailwind in the Tailwind colors tool

#0B0728 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)#000D290.027
Deuteranopia (no green cones)#000B270.026
Tritanopia (no blue cones)#010F160.054
Achromatopsia (no color)#0C0C0C0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B0728

    #0B0728

    oklch(16.2% 0.065 282.2)

  • #110E00

    #110E00

    oklch(16.2% 0.034 101)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B0728

    #0B0728

    oklch(16.2% 0.065 282.2)

  • #000E22

    #000E22

    oklch(16.3% 0.049 252.1)

  • #170321

    #170321

    oklch(16.1% 0.066 313)

Open the analogous palette in the generator

Split complementary

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

  • #0B0728

    #0B0728

    oklch(16.2% 0.065 282.2)

  • #170B00

    #170B00

    oklch(16.3% 0.035 72.1)

  • #061100

    #061100

    oklch(16% 0.045 132.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B0728

    #0B0728

    oklch(16.2% 0.065 282.2)

  • #1E0500

    #1E0500

    oklch(16.2% 0.049 41.7)

  • #001209

    #001209

    oklch(16.1% 0.035 162.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B0728

    #0B0728

    oklch(16.2% 0.065 282.2)

  • #220006

    #220006

    oklch(16.1% 0.064 12.7)

  • #110E00

    #110E00

    oklch(16.2% 0.034 101)

  • #001111

    #001111

    oklch(16.1% 0.027 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 #0B0728, closest first.

Similar named colors

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

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