#120A2A

Closest named color: Midnight (#03012D). oklch(17.9% 0.062 290.2), rgb(18, 10, 42).

Aa

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

About this color

#120A2A is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.062 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.051 away. White text reads best on it, at 19.04:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.062)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.10:1
White text19.04:1

Values

HEX#120A2A
RGBrgb(18, 10, 42)
HSLhsl(255, 62%, 10%)
OKLCHoklch(17.9% 0.062 290.2)

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 #120A2A 19.04:1 AAA Lc -107.3 Preferred for body text
Black text on #120A2A 1.10:1 Fails Lc 0.0 Not readable
#120A2A text on white 19.04:1 AAA Lc 105.3 Preferred for body text
#120A2A text on black 1.10: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

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #BFB9ED

    oklch(80.8% 0.073 289.9)

  5. Step 400

    400

    #A093E5

    oklch(70.7% 0.118 290.3)

  6. Step 500

    500

    #8A76DD

    oklch(63% 0.151 290.3)

  7. Step 600

    600

    #755DCA

    oklch(55.6% 0.162 290.2)

  8. Step 700

    700

    #624CAF

    oklch(49.1% 0.151 289.9)

  9. Step 800

    800

    #503F8E

    oklch(42.8% 0.126 289.9)

  10. Step 900

    900

    #423671

    oklch(37.7% 0.098 290.3)

  11. Step 950

    950 (this color)

    #120A2A

    oklch(17.9% 0.062 290.2)

Export this scale for Tailwind in the Tailwind colors tool

#120A2A 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)#00102B0.036
Deuteranopia (no green cones)#000F290.036
Tritanopia (no blue cones)#0B11180.050
Achromatopsia (no color)#1010100.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #120A2A

    #120A2A

    oklch(17.9% 0.062 290.2)

  • #121300

    #121300

    oklch(18% 0.04 112.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #120A2A

    #120A2A

    oklch(17.9% 0.062 290.2)

  • #020F2C

    #020F2C

    oklch(17.8% 0.063 260.7)

  • #1D0622

    #1D0622

    oklch(18% 0.062 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #120A2A

    #120A2A

    oklch(17.9% 0.062 290.2)

  • #1A0F00

    #1A0F00

    oklch(17.9% 0.037 79)

  • #021700

    #021700

    oklch(17.9% 0.058 140.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #120A2A

    #120A2A

    oklch(17.9% 0.062 290.2)

  • #210A00

    #210A00

    oklch(18% 0.047 51.1)

  • #00160F

    #00160F

    oklch(17.8% 0.035 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #120A2A

    #120A2A

    oklch(17.9% 0.062 290.2)

  • #270306

    #270306

    oklch(18% 0.062 19.9)

  • #121300

    #121300

    oklch(18% 0.04 112.1)

  • #001517

    #001517

    oklch(17.8% 0.03 202.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #120A2A 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.