#080418

Closest named color: Midnight (#03012D). oklch(13.1% 0.045 290.5), rgb(8, 4, 24).

Aa

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

About this color

#080418 is a very dark, muted purple. In OKLCH its lightness is 13%, its chroma 0.045 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.049 away. White text reads best on it, at 20.17:1.

Hue familyPurples
Lightnessvery dark (13%)
Chromamuted (0.045)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.04:1
White text20.17:1

Values

HEX#080418
RGBrgb(8, 4, 24)
HSLhsl(252, 71%, 5%)
OKLCHoklch(13.1% 0.045 290.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 #080418 20.17:1 AAA Lc -107.8 Preferred for body text
Black text on #080418 1.04:1 Fails Lc 0.0 Not readable
#080418 text on white 20.17:1 AAA Lc 105.9 Preferred for body text
#080418 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

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D8D6EC

    oklch(88.4% 0.03 289.9)

  4. Step 300

    300

    #C0BBE2

    oklch(80.9% 0.055 291)

  5. Step 400

    400

    #A098D3

    oklch(70.8% 0.086 290.2)

  6. Step 500

    500

    #897DC7

    oklch(63.1% 0.11 290.3)

  7. Step 600

    600

    #7465B4

    oklch(55.6% 0.12 290.7)

  8. Step 700

    700

    #61549A

    oklch(49.1% 0.11 290.3)

  9. Step 800

    800

    #4F457D

    oklch(42.7% 0.091 290.2)

  10. Step 900

    900

    #423A65

    oklch(37.7% 0.072 291.1)

  11. Step 950

    950 (this color)

    #080418

    oklch(13.1% 0.045 290.5)

Export this scale for Tailwind in the Tailwind colors tool

#080418 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)#0007190.027
Deuteranopia (no green cones)#0006180.026
Tritanopia (no blue cones)#04080C0.038
Achromatopsia (no color)#0707070.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #080418

    #080418

    oklch(13.1% 0.045 290.5)

  • #080800

    #080800

    oklch(13% 0.028 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #080418

    #080418

    oklch(13.1% 0.045 290.5)

  • #010619

    #010619

    oklch(12.9% 0.046 261.7)

  • #0F0212

    #0F0212

    oklch(13% 0.047 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #080418

    #080418

    oklch(13.1% 0.045 290.5)

  • #0D0600

    #0D0600

    oklch(13% 0.027 78.1)

  • #010B00

    #010B00

    oklch(13.1% 0.042 139.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #080418

    #080418

    oklch(13.1% 0.045 290.5)

  • #120400

    #120400

    oklch(13.2% 0.034 51.2)

  • #000B06

    #000B06

    oklch(13.3% 0.027 167.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #080418

    #080418

    oklch(13.1% 0.045 290.5)

  • #160102

    #160102

    oklch(13.1% 0.046 21.1)

  • #080800

    #080800

    oklch(13% 0.028 109.8)

  • #000A0B

    #000A0B

    oklch(13.2% 0.022 200.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #080418 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.