#180512

Closest named color: Very Dark Brown (#1D0200). oklch(15.7% 0.043 340.6), rgb(24, 5, 18).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.043)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.06:1
White text19.63:1

Values

HEX#180512
RGBrgb(24, 5, 18)
HSLhsl(319, 66%, 6%)
OKLCHoklch(15.7% 0.043 340.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 #180512 19.63:1 AAA Lc -107.6 Preferred for body text
Black text on #180512 1.06:1 Fails Lc 0.0 Not readable
#180512 text on white 19.63:1 AAA Lc 105.6 Preferred for body text
#180512 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

    #F1E6ED

    oklch(93.6% 0.015 338.9)

  3. Step 200

    200

    #E7D2DF

    oklch(88.5% 0.029 340.1)

  4. Step 300

    300

    #D8B4CB

    oklch(80.8% 0.051 339.8)

  5. Step 400

    400

    #C48DB0

    oklch(70.8% 0.081 340.9)

  6. Step 500

    500

    #B3709C

    oklch(63.1% 0.102 340.8)

  7. Step 600

    600

    #9E5787

    oklch(55.5% 0.112 340.5)

  8. Step 700

    700

    #874773

    oklch(49.1% 0.104 340.2)

  9. Step 800

    800

    #6E3B5D

    oklch(42.8% 0.085 341)

  10. Step 900

    900

    #59334C

    oklch(37.7% 0.066 341)

  11. Step 950

    950 (this color)

    #180512

    oklch(15.7% 0.043 340.6)

Export this scale for Tailwind in the Tailwind colors tool

#180512 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)#0609120.045
Deuteranopia (no green cones)#0B0D110.041
Tritanopia (no blue cones)#1A050A0.018
Achromatopsia (no color)#0B0B0B0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #180512

    #180512

    oklch(15.7% 0.043 340.6)

  • #001108

    #001108

    oklch(15.7% 0.035 161.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #180512

    #180512

    oklch(15.7% 0.043 340.6)

  • #12071A

    #12071A

    oklch(15.7% 0.042 309.4)

  • #1B0408

    #1B0408

    oklch(15.6% 0.044 10.3)

Open the analogous palette in the generator

Split complementary

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

  • #180512

    #180512

    oklch(15.7% 0.043 340.6)

  • #061000

    #061000

    oklch(15.7% 0.043 131.5)

  • #00100F

    #00100F

    oklch(15.6% 0.027 190.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #180512

    #180512

    oklch(15.7% 0.043 340.6)

  • #100D00

    #100D00

    oklch(15.8% 0.033 100.7)

  • #000F15

    #000F15

    oklch(15.6% 0.029 221.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #180512

    #180512

    oklch(15.7% 0.043 340.6)

  • #150A00

    #150A00

    oklch(15.7% 0.033 73.5)

  • #001108

    #001108

    oklch(15.7% 0.035 161.8)

  • #010D1E

    #010D1E

    oklch(15.7% 0.042 251.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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