#1B102E

Closest named color: Rich Black (#0D1B2A). oklch(20.6% 0.058 298), rgb(27, 16, 46).

Aa

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

About this color

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

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

Values

HEX#1B102E
RGBrgb(27, 16, 46)
HSLhsl(262, 48%, 12%)
OKLCHoklch(20.6% 0.058 298)

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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F6

    oklch(93.5% 0.021 298.2)

  3. Step 200

    200

    #DCD4F0

    oklch(88.5% 0.039 298.7)

  4. Step 300

    300

    #C6B8E8

    oklch(81% 0.068 298.2)

  5. Step 400

    400

    #A991DC

    oklch(70.6% 0.11 298.3)

  6. Step 500

    500

    #9574D3

    oklch(63.1% 0.142 298.3)

  7. Step 600

    600

    #805BC0

    oklch(55.7% 0.153 298.2)

  8. Step 700

    700

    #6C4AA6

    oklch(49.1% 0.143 298)

  9. Step 800

    800

    #583D86

    oklch(42.7% 0.118 298.3)

  10. Step 900

    900

    #48356B

    oklch(37.7% 0.091 298.1)

  11. Step 950

    950 (this color)

    #1B102E

    oklch(20.6% 0.058 298)

Export this scale for Tailwind in the Tailwind colors tool

#1B102E 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)#05162F0.040
Deuteranopia (no green cones)#07162D0.038
Tritanopia (no blue cones)#17161C0.046
Achromatopsia (no color)#1616160.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B102E

    #1B102E

    oklch(20.6% 0.058 298)

  • #161A00

    #161A00

    oklch(20.6% 0.048 117.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B102E

    #1B102E

    oklch(20.6% 0.058 298)

  • #0C1532

    #0C1532

    oklch(20.6% 0.059 268)

  • #250C25

    #250C25

    oklch(20.7% 0.059 327.4)

Open the analogous palette in the generator

Split complementary

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

  • #1B102E

    #1B102E

    oklch(20.6% 0.058 298)

  • #1F1600

    #1F1600

    oklch(20.6% 0.042 89.1)

  • #011E07

    #011E07

    oklch(20.6% 0.057 148.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B102E

    #1B102E

    oklch(20.6% 0.058 298)

  • #271000

    #271000

    oklch(20.4% 0.049 57.5)

  • #001D17

    #001D17

    oklch(20.6% 0.038 176.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B102E

    #1B102E

    oklch(20.6% 0.058 298)

  • #2D0A07

    #2D0A07

    oklch(20.6% 0.059 28.6)

  • #161A00

    #161A00

    oklch(20.6% 0.048 117.2)

  • #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 #1B102E, closest first.

Similar named colors

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

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