#180412

Closest named color: Very Dark Brown (#1D0200). oklch(15.4% 0.046 340), rgb(24, 4, 18).

Aa

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

About this color

#180412 is a very dark, muted purple. In OKLCH its lightness is 15%, its chroma 0.046 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.046 away. White text reads best on it, at 19.71:1.

Hue familyPurples
Lightnessvery dark (15%)
Chromamuted (0.046)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.06:1
White text19.71:1

Values

HEX#180412
RGBrgb(24, 4, 18)
HSLhsl(318, 71%, 5%)
OKLCHoklch(15.4% 0.046 340)

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 #180412 19.71:1 AAA Lc -107.6 Preferred for body text
Black text on #180412 1.06:1 Fails Lc 0.0 Not readable
#180412 text on white 19.71:1 AAA Lc 105.6 Preferred for body text
#180412 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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F2E6ED

    oklch(93.6% 0.016 341.4)

  3. Step 200

    200

    #E8D2DF

    oklch(88.6% 0.03 341.4)

  4. Step 300

    300

    #DAB3CC

    oklch(80.9% 0.056 339.8)

  5. Step 400

    400

    #C68BB2

    oklch(70.7% 0.088 339.9)

  6. Step 500

    500

    #B66D9F

    oklch(63% 0.113 339.7)

  7. Step 600

    600

    #A15489

    oklch(55.5% 0.121 340.3)

  8. Step 700

    700

    #8A4475

    oklch(49.1% 0.114 339.9)

  9. Step 800

    800

    #70395F

    oklch(42.8% 0.093 340.1)

  10. Step 900

    900

    #5B314E

    oklch(37.7% 0.074 339.7)

  11. Step 950

    950 (this color)

    #180412

    oklch(15.4% 0.046 340)

Export this scale for Tailwind in the Tailwind colors tool

#180412 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)#0509120.049
Deuteranopia (no green cones)#0A0C110.044
Tritanopia (no blue cones)#1A04090.021
Achromatopsia (no color)#0B0B0B0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #180412

    #180412

    oklch(15.4% 0.046 340)

  • #001007

    #001007

    oklch(15.3% 0.034 160.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #180412

    #180412

    oklch(15.4% 0.046 340)

  • #12061A

    #12061A

    oklch(15.5% 0.045 310.4)

  • #1B0308

    #1B0308

    oklch(15.3% 0.047 8)

Open the analogous palette in the generator

Split complementary

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

  • #180412

    #180412

    oklch(15.4% 0.046 340)

  • #060F00

    #060F00

    oklch(15.3% 0.042 130.5)

  • #00100E

    #00100E

    oklch(15.6% 0.027 185.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #180412

    #180412

    oklch(15.4% 0.046 340)

  • #0F0C00

    #0F0C00

    oklch(15.3% 0.032 100.3)

  • #000F14

    #000F14

    oklch(15.5% 0.028 217.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #180412

    #180412

    oklch(15.4% 0.046 340)

  • #150900

    #150900

    oklch(15.4% 0.034 69.4)

  • #001007

    #001007

    oklch(15.3% 0.034 160.6)

  • #000C1E

    #000C1E

    oklch(15.3% 0.045 251.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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