#120518

Closest named color: Almost Black (#070D0D). oklch(15% 0.045 314.6), rgb(18, 5, 24).

Aa

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

About this color

#120518 is a very dark, muted purple. In OKLCH its lightness is 15%, its chroma 0.045 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.051 away. White text reads best on it, at 19.79:1.

Hue familyPurples
Lightnessvery dark (15%)
Chromamuted (0.045)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.06:1
White text19.79:1

Values

HEX#120518
RGBrgb(18, 5, 24)
HSLhsl(281, 66%, 6%)
OKLCHoklch(15% 0.045 314.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 #120518 19.79:1 AAA Lc -107.7 Preferred for body text
Black text on #120518 1.06:1 Fails Lc 0.0 Not readable
#120518 text on white 19.79:1 AAA Lc 105.7 Preferred for body text
#120518 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E1D4E7

    oklch(88.6% 0.029 315.3)

  4. Step 300

    300

    #CEB7D9

    oklch(81% 0.053 314.9)

  5. Step 400

    400

    #B591C6

    oklch(70.8% 0.085 314.7)

  6. Step 500

    500

    #A275B7

    oklch(63.2% 0.108 314.6)

  7. Step 600

    600

    #8D5CA3

    oklch(55.6% 0.119 314.7)

  8. Step 700

    700

    #784C8C

    oklch(49.2% 0.11 314.6)

  9. Step 800

    800

    #613E71

    oklch(42.6% 0.091 314.6)

  10. Step 900

    900

    #50355C

    oklch(37.7% 0.073 314.9)

  11. Step 950

    950 (this color)

    #120518

    oklch(15% 0.045 314.6)

Export this scale for Tailwind in the Tailwind colors tool

#120518 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)#0209190.041
Deuteranopia (no green cones)#050A170.035
Tritanopia (no blue cones)#12080D0.030
Achromatopsia (no color)#0A0A0A0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #120518

    #120518

    oklch(15% 0.045 314.6)

  • #040F00

    #040F00

    oklch(15.1% 0.044 134.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #120518

    #120518

    oklch(15% 0.045 314.6)

  • #0A071D

    #0A071D

    oklch(14.9% 0.046 286.2)

  • #180310

    #180310

    oklch(15% 0.048 343.9)

Open the analogous palette in the generator

Split complementary

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

  • #120518

    #120518

    oklch(15% 0.045 314.6)

  • #0D0C00

    #0D0C00

    oklch(15.1% 0.032 106.7)

  • #000F08

    #000F08

    oklch(14.9% 0.031 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #120518

    #120518

    oklch(15% 0.045 314.6)

  • #130900

    #130900

    oklch(15.1% 0.032 75)

  • #000E0E

    #000E0E

    oklch(14.8% 0.025 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #120518

    #120518

    oklch(15% 0.045 314.6)

  • #190500

    #190500

    oklch(15.1% 0.042 46.1)

  • #040F00

    #040F00

    oklch(15.1% 0.044 134.7)

  • #000E14

    #000E14

    oklch(15.2% 0.028 222.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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