#170F1D

Closest named color: Rich Black (#0D1B2A). oklch(18.6% 0.03 309.9), rgb(23, 15, 29).

Aa

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

About this color

#170F1D is a very dark, muted purple. In OKLCH its lightness is 19%, its chroma 0.030 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.045 away. White text reads best on it, at 18.70:1.

Hue familyPurples
Lightnessvery dark (19%)
Chromamuted (0.030)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.12:1
White text18.70:1

Values

HEX#170F1D
RGBrgb(23, 15, 29)
HSLhsl(274, 32%, 9%)
OKLCHoklch(18.6% 0.03 309.9)

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 #170F1D 18.70:1 AAA Lc -107.3 Preferred for body text
Black text on #170F1D 1.12:1 Fails Lc 0.0 Not readable
#170F1D text on white 18.70:1 AAA Lc 105.2 Preferred for body text
#170F1D text on black 1.12: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DDD6E3

    oklch(88.5% 0.019 309.8)

  4. Step 300

    300

    #C8BBD2

    oklch(81% 0.035 310.7)

  5. Step 400

    400

    #AB97BC

    oklch(70.6% 0.057 309.3)

  6. Step 500

    500

    #977DAB

    oklch(63% 0.074 310)

  7. Step 600

    600

    #826696

    oklch(55.6% 0.079 310.6)

  8. Step 700

    700

    #6D5580

    oklch(49.1% 0.073 309.4)

  9. Step 800

    800

    #594568

    oklch(42.6% 0.062 310)

  10. Step 900

    900

    #493A55

    oklch(37.6% 0.049 309.5)

  11. Step 950

    950 (this color)

    #170F1D

    oklch(18.6% 0.03 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#170F1D 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)#0C121E0.023
Deuteranopia (no green cones)#0E121D0.020
Tritanopia (no blue cones)#1611140.022
Achromatopsia (no color)#1212120.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #170F1D

    #170F1D

    oklch(18.6% 0.03 309.9)

  • #0E1607

    #0E1607

    oklch(18.7% 0.031 131.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170F1D

    #170F1D

    oklch(18.6% 0.03 309.9)

  • #101120

    #101120

    oklch(18.5% 0.031 280)

  • #1C0D17

    #1C0D17

    oklch(18.5% 0.031 340.4)

Open the analogous palette in the generator

Split complementary

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

  • #170F1D

    #170F1D

    oklch(18.6% 0.03 309.9)

  • #161304

    #161304

    oklch(18.6% 0.029 99.2)

  • #06170E

    #06170E

    oklch(18.6% 0.03 159.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170F1D

    #170F1D

    oklch(18.6% 0.03 309.9)

  • #1B1004

    #1B1004

    oklch(18.4% 0.03 69.9)

  • #011716

    #011716

    oklch(18.6% 0.03 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170F1D

    #170F1D

    oklch(18.6% 0.03 309.9)

  • #1E0E08

    #1E0E08

    oklch(18.5% 0.03 41.6)

  • #0E1607

    #0E1607

    oklch(18.7% 0.031 131.4)

  • #02161C

    #02161C

    oklch(18.6% 0.03 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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