#180A26

Closest named color: Midnight Purple (#280137). oklch(18.3% 0.057 304.5), rgb(24, 10, 38).

Aa

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

About this color

#180A26 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.057 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.053 away. White text reads best on it, at 18.91:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.057)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.11:1
White text18.91:1

Values

HEX#180A26
RGBrgb(24, 10, 38)
HSLhsl(270, 58%, 9%)
OKLCHoklch(18.3% 0.057 304.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 #180A26 18.91:1 AAA Lc -107.3 Preferred for body text
Black text on #180A26 1.11:1 Fails Lc 0.0 Not readable
#180A26 text on white 18.91:1 AAA Lc 105.2 Preferred for body text
#180A26 text on black 1.11: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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F5

    oklch(93.7% 0.02 305.3)

  3. Step 200

    200

    #DED3EE

    oklch(88.4% 0.038 304)

  4. Step 300

    300

    #CAB6E4

    oklch(80.8% 0.067 304.7)

  5. Step 400

    400

    #B08FD7

    oklch(70.7% 0.108 304.8)

  6. Step 500

    500

    #9C72CC

    oklch(63.1% 0.137 304.3)

  7. Step 600

    600

    #8759B8

    oklch(55.6% 0.148 304.4)

  8. Step 700

    700

    #73489F

    oklch(49.1% 0.139 304.6)

  9. Step 800

    800

    #5D3C81

    oklch(42.7% 0.114 304.1)

  10. Step 900

    900

    #4C3467

    oklch(37.7% 0.088 304.2)

  11. Step 950

    950 (this color)

    #180A26

    oklch(18.3% 0.057 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#180A26 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)#0210270.045
Deuteranopia (no green cones)#0511250.041
Tritanopia (no blue cones)#160F160.040
Achromatopsia (no color)#1111110.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #180A26

    #180A26

    oklch(18.3% 0.057 304.5)

  • #0E1500

    #0E1500

    oklch(18.2% 0.045 123.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #180A26

    #180A26

    oklch(18.3% 0.057 304.5)

  • #0B0F2B

    #0B0F2B

    oklch(18.4% 0.056 273.4)

  • #20071C

    #20071C

    oklch(18.3% 0.055 334.2)

Open the analogous palette in the generator

Split complementary

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

  • #180A26

    #180A26

    oklch(18.3% 0.057 304.5)

  • #181200

    #181200

    oklch(18.4% 0.038 94.3)

  • #001809

    #001809

    oklch(18.4% 0.045 155)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #180A26

    #180A26

    oklch(18.3% 0.057 304.5)

  • #1E0E00

    #1E0E00

    oklch(18.3% 0.041 66.7)

  • #001714

    #001714

    oklch(18.4% 0.033 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #180A26

    #180A26

    oklch(18.3% 0.057 304.5)

  • #260602

    #260602

    oklch(18.3% 0.057 33.8)

  • #0E1500

    #0E1500

    oklch(18.2% 0.045 123.7)

  • #00161B

    #00161B

    oklch(18.4% 0.032 213.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #180A26 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.