#181034

Closest named color: Rich Black (#0D1B2A). oklch(20.7% 0.068 289.4), rgb(24, 16, 52).

Aa

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

About this color

#181034 is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.068 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.047 away. White text reads best on it, at 18.06:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.068)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text18.06:1

Values

HEX#181034
RGBrgb(24, 16, 52)
HSLhsl(253, 53%, 13%)
OKLCHoklch(20.7% 0.068 289.4)

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 #181034 18.06:1 AAA Lc -106.8 Preferred for body text
Black text on #181034 1.16:1 Fails Lc 0.0 Not readable
#181034 text on white 18.06:1 AAA Lc 104.6 Preferred for body text
#181034 text on black 1.16: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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F5

    oklch(88.5% 0.044 289.8)

  4. Step 300

    300

    #BFB9F2

    oklch(81% 0.08 289.3)

  5. Step 400

    400

    #9F92EB

    oklch(70.7% 0.128 289.4)

  6. Step 500

    500

    #8974E5

    oklch(63.1% 0.165 289.4)

  7. Step 600

    600

    #745AD3

    oklch(55.6% 0.178 289.2)

  8. Step 700

    700

    #6249B7

    oklch(49.2% 0.166 289.3)

  9. Step 800

    800

    #503D94

    oklch(42.8% 0.137 289.4)

  10. Step 900

    900

    #423576

    oklch(37.8% 0.107 289.5)

  11. Step 950

    950 (this color)

    #181034

    oklch(20.7% 0.068 289.4)

Export this scale for Tailwind in the Tailwind colors tool

#181034 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)#0017350.040
Deuteranopia (no green cones)#0015330.040
Tritanopia (no blue cones)#0F181F0.057
Achromatopsia (no color)#1616160.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #181034

    #181034

    oklch(20.7% 0.068 289.4)

  • #191900

    #191900

    oklch(20.7% 0.045 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181034

    #181034

    oklch(20.7% 0.068 289.4)

  • #041636

    #041636

    oklch(20.8% 0.068 259.9)

  • #240B2B

    #240B2B

    oklch(20.7% 0.067 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #181034

    #181034

    oklch(20.7% 0.068 289.4)

  • #221500

    #221500

    oklch(20.8% 0.043 79.6)

  • #051E00

    #051E00

    oklch(20.7% 0.065 139)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181034

    #181034

    oklch(20.7% 0.068 289.4)

  • #2B0E00

    #2B0E00

    oklch(20.7% 0.056 49.1)

  • #001E15

    #001E15

    oklch(20.9% 0.041 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181034

    #181034

    oklch(20.7% 0.068 289.4)

  • #30060A

    #30060A

    oklch(20.7% 0.068 19.8)

  • #191900

    #191900

    oklch(20.7% 0.045 109.8)

  • #001C1E

    #001C1E

    oklch(20.6% 0.035 201.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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