#1B112C

Closest named color: Rich Black (#0D1B2A). oklch(20.7% 0.053 298.8), rgb(27, 17, 44).

Aa

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

About this color

#1B112C is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.053 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.041 away. White text reads best on it, at 18.05:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.053)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text18.05:1

Values

HEX#1B112C
RGBrgb(27, 17, 44)
HSLhsl(262, 44%, 12%)
OKLCHoklch(20.7% 0.053 298.8)

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 #1B112C 18.05:1 AAA Lc -106.9 Preferred for body text
Black text on #1B112C 1.16:1 Fails Lc 0.0 Not readable
#1B112C text on white 18.05:1 AAA Lc 104.7 Preferred for body text
#1B112C text on black 1.16: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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE7F5

    oklch(93.5% 0.019 299.1)

  3. Step 200

    200

    #DCD5EE

    oklch(88.6% 0.035 298.5)

  4. Step 300

    300

    #C6B8E4

    oklch(80.9% 0.063 299.5)

  5. Step 400

    400

    #A993D7

    oklch(70.8% 0.1 298.7)

  6. Step 500

    500

    #9476CC

    oklch(63% 0.129 298.7)

  7. Step 600

    600

    #7F5EB9

    oklch(55.7% 0.139 298.5)

  8. Step 700

    700

    #6B4D9F

    oklch(49.1% 0.129 298.4)

  9. Step 800

    800

    #573F81

    oklch(42.6% 0.108 298.5)

  10. Step 900

    900

    #483667

    oklch(37.6% 0.083 299.3)

  11. Step 950

    950 (this color)

    #1B112C

    oklch(20.7% 0.053 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#1B112C 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)#08162D0.035
Deuteranopia (no green cones)#0A162B0.033
Tritanopia (no blue cones)#17161C0.041
Achromatopsia (no color)#1616160.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B112C

    #1B112C

    oklch(20.7% 0.053 298.8)

  • #151A00

    #151A00

    oklch(20.5% 0.048 118.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B112C

    #1B112C

    oklch(20.7% 0.053 298.8)

  • #0E152F

    #0E152F

    oklch(20.5% 0.053 269.9)

  • #240D23

    #240D23

    oklch(20.5% 0.053 328.9)

Open the analogous palette in the generator

Split complementary

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

  • #1B112C

    #1B112C

    oklch(20.7% 0.053 298.8)

  • #1F1600

    #1F1600

    oklch(20.6% 0.042 89.1)

  • #031E09

    #031E09

    oklch(20.7% 0.053 148.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B112C

    #1B112C

    oklch(20.7% 0.053 298.8)

  • #271100

    #271100

    oklch(20.6% 0.048 59.9)

  • #001D18

    #001D18

    oklch(20.7% 0.038 179.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B112C

    #1B112C

    oklch(20.7% 0.053 298.8)

  • #2B0C09

    #2B0C09

    oklch(20.6% 0.052 28.1)

  • #151A00

    #151A00

    oklch(20.5% 0.048 118.9)

  • #001C20

    #001C20

    oklch(20.7% 0.036 207.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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