#170D1B

Closest named color: Almost Black (#070D0D). oklch(18% 0.032 316), rgb(23, 13, 27).

Aa

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

About this color

#170D1B is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.032 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.047 away. White text reads best on it, at 18.92:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.032)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.10:1
White text18.92:1

Values

HEX#170D1B
RGBrgb(23, 13, 27)
HSLhsl(283, 35%, 8%)
OKLCHoklch(18% 0.032 316)

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 #170D1B 18.92:1 AAA Lc -107.4 Preferred for body text
Black text on #170D1B 1.10:1 Fails Lc 0.0 Not readable
#170D1B text on white 18.92:1 AAA Lc 105.3 Preferred for body text
#170D1B 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE8EF

    oklch(93.7% 0.011 316.5)

  3. Step 200

    200

    #DFD5E3

    oklch(88.5% 0.022 316.5)

  4. Step 300

    300

    #CABAD1

    oklch(80.9% 0.036 315.7)

  5. Step 400

    400

    #B096BA

    oklch(70.8% 0.059 316.6)

  6. Step 500

    500

    #9C7BA9

    oklch(63.1% 0.077 316.3)

  7. Step 600

    600

    #866494

    oklch(55.6% 0.082 315.8)

  8. Step 700

    700

    #72537F

    oklch(49.2% 0.078 315.6)

  9. Step 800

    800

    #5D4467

    oklch(42.8% 0.064 316)

  10. Step 900

    900

    #4C3954

    oklch(37.6% 0.051 315.7)

  11. Step 950

    950 (this color)

    #170D1B

    oklch(18% 0.032 316)

Export this scale for Tailwind in the Tailwind colors tool

#170D1B 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)#0B101C0.025
Deuteranopia (no green cones)#0D111B0.024
Tritanopia (no blue cones)#170F120.022
Achromatopsia (no color)#1111110.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #170D1B

    #170D1B

    oklch(18% 0.032 316)

  • #0B1507

    #0B1507

    oklch(18.1% 0.031 136.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170D1B

    #170D1B

    oklch(18% 0.032 316)

  • #100F1F

    #100F1F

    oklch(17.9% 0.033 285.5)

  • #1C0C15

    #1C0C15

    oklch(18.2% 0.032 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #170D1B

    #170D1B

    oklch(18% 0.032 316)

  • #131203

    #131203

    oklch(17.9% 0.03 106)

  • #03160E

    #03160E

    oklch(18% 0.032 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170D1B

    #170D1B

    oklch(18% 0.032 316)

  • #1A0F02

    #1A0F02

    oklch(18% 0.033 73.8)

  • #001616

    #001616

    oklch(18.1% 0.031 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170D1B

    #170D1B

    oklch(18% 0.032 316)

  • #1D0D06

    #1D0D06

    oklch(18.1% 0.031 45.6)

  • #0B1507

    #0B1507

    oklch(18.1% 0.031 136.8)

  • #01141C

    #01141C

    oklch(17.9% 0.032 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #170D1B 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.