#08051B

Closest named color: Midnight (#03012D). oklch(13.8% 0.048 286.1), rgb(8, 5, 27).

Aa

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

About this color

#08051B is a very dark, muted purple. In OKLCH its lightness is 14%, its chroma 0.048 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.044 away. White text reads best on it, at 20.04:1.

Hue familyPurples
Lightnessvery dark (14%)
Chromamuted (0.048)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.04:1
White text20.04:1

Values

HEX#08051B
RGBrgb(8, 5, 27)
HSLhsl(248, 69%, 6%)
OKLCHoklch(13.8% 0.048 286.1)

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 #08051B 20.04:1 AAA Lc -107.7 Preferred for body text
Black text on #08051B 1.04:1 Fails Lc 0.0 Not readable
#08051B text on white 20.04:1 AAA Lc 105.8 Preferred for body text
#08051B text on black 1.04: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

    #E8E8F5

    oklch(93.5% 0.017 286.1)

  3. Step 200

    200

    #D7D7EE

    oklch(88.6% 0.031 285.7)

  4. Step 300

    300

    #BDBCE4

    oklch(80.9% 0.056 286.2)

  5. Step 400

    400

    #9B98D7

    oklch(70.6% 0.091 286)

  6. Step 500

    500

    #847ECC

    oklch(63.1% 0.116 286.1)

  7. Step 600

    600

    #6E66B9

    oklch(55.6% 0.126 285.9)

  8. Step 700

    700

    #5C549F

    oklch(49% 0.117 286.1)

  9. Step 800

    800

    #4B4581

    oklch(42.6% 0.097 286.1)

  10. Step 900

    900

    #3F3B68

    oklch(37.8% 0.076 286.3)

  11. Step 950

    950 (this color)

    #08051B

    oklch(13.8% 0.048 286.1)

Export this scale for Tailwind in the Tailwind colors tool

#08051B 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)#00081C0.024
Deuteranopia (no green cones)#00071B0.024
Tritanopia (no blue cones)#03090E0.039
Achromatopsia (no color)#0808080.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #08051B

    #08051B

    oklch(13.8% 0.048 286.1)

  • #0A0900

    #0A0900

    oklch(13.7% 0.029 106.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08051B

    #08051B

    oklch(13.8% 0.048 286.1)

  • #00081C

    #00081C

    oklch(13.8% 0.048 256.5)

  • #100316

    #100316

    oklch(13.9% 0.048 315.2)

Open the analogous palette in the generator

Split complementary

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

  • #08051B

    #08051B

    oklch(13.8% 0.048 286.1)

  • #0F0700

    #0F0700

    oklch(13.7% 0.029 77.4)

  • #030C00

    #030C00

    oklch(13.8% 0.04 134.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08051B

    #08051B

    oklch(13.8% 0.048 286.1)

  • #150400

    #150400

    oklch(13.9% 0.039 46.8)

  • #000C06

    #000C06

    oklch(13.7% 0.029 165.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08051B

    #08051B

    oklch(13.8% 0.048 286.1)

  • #180104

    #180104

    oklch(13.7% 0.049 13.3)

  • #0A0900

    #0A0900

    oklch(13.7% 0.029 106.2)

  • #000C0C

    #000C0C

    oklch(14% 0.024 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 #08051B, closest first.

Similar named colors

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

Use #08051B 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.