#170F1E

Closest named color: Rich Black (#0D1B2A). oklch(18.7% 0.032 308), rgb(23, 15, 30).

Aa

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

About this color

#170F1E is a very dark, muted purple. In OKLCH its lightness is 19%, its chroma 0.032 and its hue 308°. 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.69:1.

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

Values

HEX#170F1E
RGBrgb(23, 15, 30)
HSLhsl(272, 33%, 9%)
OKLCHoklch(18.7% 0.032 308)

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

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DDD6E4

    oklch(88.6% 0.02 308.2)

  4. Step 300

    300

    #C7BBD4

    oklch(81% 0.037 307.1)

  5. Step 400

    400

    #AB97BE

    oklch(70.7% 0.06 308.1)

  6. Step 500

    500

    #967DAE

    oklch(63.1% 0.077 307.5)

  7. Step 600

    600

    #816699

    oklch(55.6% 0.083 308.1)

  8. Step 700

    700

    #6D5483

    oklch(49% 0.079 308.1)

  9. Step 800

    800

    #59456A

    oklch(42.7% 0.064 308.6)

  10. Step 900

    900

    #493A56

    oklch(37.6% 0.05 308.5)

  11. Step 950

    950 (this color)

    #170F1E

    oklch(18.7% 0.032 308)

Export this scale for Tailwind in the Tailwind colors tool

#170F1E 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)#0C121F0.023
Deuteranopia (no green cones)#0E121E0.020
Tritanopia (no blue cones)#1611150.022
Achromatopsia (no color)#1212120.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #170F1E

    #170F1E

    oklch(18.7% 0.032 308)

  • #0F1606

    #0F1606

    oklch(18.8% 0.033 128)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170F1E

    #170F1E

    oklch(18.7% 0.032 308)

  • #101121

    #101121

    oklch(18.6% 0.033 280)

  • #1C0D18

    #1C0D18

    oklch(18.6% 0.032 337.3)

Open the analogous palette in the generator

Split complementary

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

  • #170F1E

    #170F1E

    oklch(18.7% 0.032 308)

  • #171303

    #171303

    oklch(18.7% 0.031 97)

  • #06170E

    #06170E

    oklch(18.6% 0.03 159.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170F1E

    #170F1E

    oklch(18.7% 0.032 308)

  • #1C1004

    #1C1004

    oklch(18.6% 0.031 67.3)

  • #001816

    #001816

    oklch(18.8% 0.033 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170F1E

    #170F1E

    oklch(18.7% 0.032 308)

  • #1F0E08

    #1F0E08

    oklch(18.7% 0.032 40.5)

  • #0F1606

    #0F1606

    oklch(18.8% 0.033 128)

  • #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 #170F1E, closest first.

Similar named colors

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

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