#170E1D

Closest named color: Rich Navy (#001219). oklch(18.4% 0.033 311), rgb(23, 14, 29).

Aa

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

About this color

#170E1D is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.033 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.047 away. White text reads best on it, at 18.80:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.033)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.11:1
White text18.80:1

Values

HEX#170E1D
RGBrgb(23, 14, 29)
HSLhsl(276, 35%, 8%)
OKLCHoklch(18.4% 0.033 311)

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 #170E1D 18.80:1 AAA Lc -107.3 Preferred for body text
Black text on #170E1D 1.11:1 Fails Lc 0.0 Not readable
#170E1D text on white 18.80:1 AAA Lc 105.3 Preferred for body text
#170E1D text on black 1.11: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

    #F6F4F8

    oklch(97% 0.006 308.4)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DED5E4

    oklch(88.5% 0.022 312.2)

  4. Step 300

    300

    #C9BAD3

    oklch(80.9% 0.038 312)

  5. Step 400

    400

    #AD96BD

    oklch(70.7% 0.061 311.3)

  6. Step 500

    500

    #997CAD

    oklch(63.1% 0.079 311.1)

  7. Step 600

    600

    #836598

    oklch(55.6% 0.084 310.7)

  8. Step 700

    700

    #6F5382

    oklch(49% 0.08 310.9)

  9. Step 800

    800

    #5B446A

    oklch(42.7% 0.067 311.4)

  10. Step 900

    900

    #4A3A56

    oklch(37.7% 0.051 310.1)

  11. Step 950

    950 (this color)

    #170E1D

    oklch(18.4% 0.033 311)

Export this scale for Tailwind in the Tailwind colors tool

#170E1D 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)#0B111E0.025
Deuteranopia (no green cones)#0D121D0.023
Tritanopia (no blue cones)#1610140.022
Achromatopsia (no color)#1212120.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #170E1D

    #170E1D

    oklch(18.4% 0.033 311)

  • #0D1506

    #0D1506

    oklch(18.3% 0.032 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170E1D

    #170E1D

    oklch(18.4% 0.033 311)

  • #101020

    #101020

    oklch(18.2% 0.032 282.7)

  • #1C0C17

    #1C0C17

    oklch(18.3% 0.034 339.7)

Open the analogous palette in the generator

Split complementary

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

  • #170E1D

    #170E1D

    oklch(18.4% 0.033 311)

  • #161302

    #161302

    oklch(18.5% 0.034 100.9)

  • #04170E

    #04170E

    oklch(18.5% 0.032 161.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170E1D

    #170E1D

    oklch(18.4% 0.033 311)

  • #1B1003

    #1B1003

    oklch(18.4% 0.032 72.6)

  • #001716

    #001716

    oklch(18.5% 0.032 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170E1D

    #170E1D

    oklch(18.4% 0.033 311)

  • #1E0D07

    #1E0D07

    oklch(18.3% 0.032 41)

  • #0D1506

    #0D1506

    oklch(18.3% 0.032 131.2)

  • #01161C

    #01161C

    oklch(18.5% 0.032 217.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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