#1A1137

Closest named color: Midnight Purple (#280137). oklch(21.5% 0.071 290), rgb(26, 17, 55).

Aa

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

About this color

#1A1137 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.071 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.047 away. White text reads best on it, at 17.80:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.17:1
White text17.80:1

Values

HEX#1A1137
RGBrgb(26, 17, 55)
HSLhsl(254, 53%, 14%)
OKLCHoklch(21.5% 0.071 290)

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 #1A1137 17.80:1 AAA Lc -106.7 Preferred for body text
Black text on #1A1137 1.17:1 Fails Lc 0.0 Not readable
#1A1137 text on white 17.80:1 AAA Lc 104.4 Preferred for body text
#1A1137 text on black 1.17: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D5F7

    oklch(88.6% 0.047 289.5)

  4. Step 300

    300

    #BFB8F4

    oklch(80.9% 0.084 289.7)

  5. Step 400

    400

    #A091EE

    oklch(70.8% 0.134 289.9)

  6. Step 500

    500

    #8A72E8

    oklch(63% 0.172 289.9)

  7. Step 600

    600

    #7657D6

    oklch(55.6% 0.186 290.2)

  8. Step 700

    700

    #6346BA

    oklch(49% 0.174 290)

  9. Step 800

    800

    #513B96

    oklch(42.7% 0.143 290.2)

  10. Step 900

    900

    #423478

    oklch(37.8% 0.112 289.4)

  11. Step 950

    950 (this color)

    #1A1137

    oklch(21.5% 0.071 290)

Export this scale for Tailwind in the Tailwind colors tool

#1A1137 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)#0018380.042
Deuteranopia (no green cones)#0017360.042
Tritanopia (no blue cones)#111A210.060
Achromatopsia (no color)#1818180.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #1A1137

    #1A1137

    oklch(21.5% 0.071 290)

  • #1B1B00

    #1B1B00

    oklch(21.5% 0.047 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1A1137

    #1A1137

    oklch(21.5% 0.071 290)

  • #041739

    #041739

    oklch(21.3% 0.071 260.1)

  • #270B2D

    #270B2D

    oklch(21.4% 0.071 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #1A1137

    #1A1137

    oklch(21.5% 0.071 290)

  • #241700

    #241700

    oklch(21.6% 0.045 81.1)

  • #042000

    #042000

    oklch(21.3% 0.069 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1A1137

    #1A1137

    oklch(21.5% 0.071 290)

  • #2D1000

    #2D1000

    oklch(21.5% 0.056 50.9)

  • #001F16

    #001F16

    oklch(21.3% 0.042 170.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1A1137

    #1A1137

    oklch(21.5% 0.071 290)

  • #33070B

    #33070B

    oklch(21.5% 0.07 20.3)

  • #1B1B00

    #1B1B00

    oklch(21.5% 0.047 109.8)

  • #001E20

    #001E20

    oklch(21.4% 0.036 201)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1A1137 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.