#1B112A

Closest named color: Rich Black (#0D1B2A). oklch(20.5% 0.049 300.6), rgb(27, 17, 42).

Aa

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

About this color

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

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

Values

HEX#1B112A
RGBrgb(27, 17, 42)
HSLhsl(264, 42%, 12%)
OKLCHoklch(20.5% 0.049 300.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 #1B112A 18.10:1 AAA Lc -106.9 Preferred for body text
Black text on #1B112A 1.16:1 Fails Lc 0.0 Not readable
#1B112A text on white 18.10:1 AAA Lc 104.7 Preferred for body text
#1B112A 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

    #EBE7F4

    oklch(93.5% 0.018 300.1)

  3. Step 200

    200

    #DCD5EC

    oklch(88.6% 0.032 299.6)

  4. Step 300

    300

    #C6B9E1

    oklch(81% 0.057 300)

  5. Step 400

    400

    #AA93D2

    oklch(70.7% 0.093 300.8)

  6. Step 500

    500

    #9577C7

    oklch(63% 0.121 300.2)

  7. Step 600

    600

    #805FB3

    oklch(55.6% 0.13 300.4)

  8. Step 700

    700

    #6C4E9A

    oklch(49.1% 0.121 300.2)

  9. Step 800

    800

    #58407D

    oklch(42.6% 0.101 300.3)

  10. Step 900

    900

    #493764

    oklch(37.8% 0.077 301.2)

  11. Step 950

    950 (this color)

    #1B112A

    oklch(20.5% 0.049 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#1B112A 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)#09162B0.034
Deuteranopia (no green cones)#0C16290.031
Tritanopia (no blue cones)#18161B0.039
Achromatopsia (no color)#1616160.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B112A

    #1B112A

    oklch(20.5% 0.049 300.6)

  • #141A00

    #141A00

    oklch(20.4% 0.049 120.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B112A

    #1B112A

    oklch(20.5% 0.049 300.6)

  • #0F152E

    #0F152E

    oklch(20.5% 0.05 271.2)

  • #230E22

    #230E22

    oklch(20.5% 0.049 328.9)

Open the analogous palette in the generator

Split complementary

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

  • #1B112A

    #1B112A

    oklch(20.5% 0.049 300.6)

  • #1E1600

    #1E1600

    oklch(20.4% 0.042 91.4)

  • #031D0A

    #031D0A

    oklch(20.4% 0.05 150.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B112A

    #1B112A

    oklch(20.5% 0.049 300.6)

  • #261100

    #261100

    oklch(20.4% 0.047 61.3)

  • #001D18

    #001D18

    oklch(20.7% 0.038 179.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B112A

    #1B112A

    oklch(20.5% 0.049 300.6)

  • #2A0D09

    #2A0D09

    oklch(20.6% 0.05 29.9)

  • #141A00

    #141A00

    oklch(20.4% 0.049 120.6)

  • #001B20

    #001B20

    oklch(20.4% 0.035 211.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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