#08071F

Closest named color: Midnight (#03012D). oklch(14.9% 0.05 280.6), rgb(8, 7, 31).

Aa

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

About this color

#08071F is a very dark, muted purple. In OKLCH its lightness is 15%, its chroma 0.050 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.040 away. White text reads best on it, at 19.80:1.

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

Values

HEX#08071F
RGBrgb(8, 7, 31)
HSLhsl(243, 63%, 7%)
OKLCHoklch(14.9% 0.05 280.6)

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 #08071F 19.80:1 AAA Lc -107.7 Preferred for body text
Black text on #08071F 1.06:1 Fails Lc 0.0 Not readable
#08071F text on white 19.80:1 AAA Lc 105.7 Preferred for body text
#08071F 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D4D7EF

    oklch(88.4% 0.033 280)

  4. Step 300

    300

    #B9BDE7

    oklch(80.9% 0.059 280.7)

  5. Step 400

    400

    #959ADB

    oklch(70.7% 0.095 280.3)

  6. Step 500

    500

    #7C80D1

    oklch(63.1% 0.121 280.2)

  7. Step 600

    600

    #6668BE

    oklch(55.6% 0.131 280.2)

  8. Step 700

    700

    #5556A4

    oklch(49.1% 0.122 280.3)

  9. Step 800

    800

    #464785

    oklch(42.8% 0.101 280.5)

  10. Step 900

    900

    #3A3C6A

    oklch(37.7% 0.078 280.1)

  11. Step 950

    950 (this color)

    #08071F

    oklch(14.9% 0.05 280.6)

Export this scale for Tailwind in the Tailwind colors tool

#08071F 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)#000B200.022
Deuteranopia (no green cones)#00091E0.021
Tritanopia (no blue cones)#010C110.043
Achromatopsia (no color)#0A0A0A0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #08071F

    #08071F

    oklch(14.9% 0.05 280.6)

  • #0E0B00

    #0E0B00

    oklch(14.9% 0.031 99.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08071F

    #08071F

    oklch(14.9% 0.05 280.6)

  • #000B1C

    #000B1C

    oklch(14.8% 0.043 251.1)

  • #11041A

    #11041A

    oklch(14.7% 0.051 310.1)

Open the analogous palette in the generator

Split complementary

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

  • #08071F

    #08071F

    oklch(14.9% 0.05 280.6)

  • #130800

    #130800

    oklch(14.8% 0.032 70.3)

  • #050E00

    #050E00

    oklch(14.8% 0.041 131.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08071F

    #08071F

    oklch(14.9% 0.05 280.6)

  • #1A0400

    #1A0400

    oklch(15% 0.045 41.8)

  • #000F06

    #000F06

    oklch(14.8% 0.034 159.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08071F

    #08071F

    oklch(14.9% 0.05 280.6)

  • #1B0206

    #1B0206

    oklch(14.9% 0.05 11.5)

  • #0E0B00

    #0E0B00

    oklch(14.9% 0.031 99.9)

  • #000E0D

    #000E0D

    oklch(14.8% 0.026 189.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08071F 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.