#170517

Closest named color: Almost Black (#070D0D). oklch(15.8% 0.047 327.5), rgb(23, 5, 23).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.047)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.07:1
White text19.61:1

Values

HEX#170517
RGBrgb(23, 5, 23)
HSLhsl(300, 64%, 5%)
OKLCHoklch(15.8% 0.047 327.5)

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 #170517 19.61:1 AAA Lc -107.6 Preferred for body text
Black text on #170517 1.07:1 Fails Lc 0.0 Not readable
#170517 text on white 19.61:1 AAA Lc 105.6 Preferred for body text
#170517 text on black 1.07: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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6EF

    oklch(93.5% 0.016 328.8)

  3. Step 200

    200

    #E5D2E4

    oklch(88.5% 0.032 327.4)

  4. Step 300

    300

    #D5B4D3

    oklch(80.8% 0.056 328)

  5. Step 400

    400

    #BF8DBD

    oklch(70.7% 0.089 327.8)

  6. Step 500

    500

    #AE6FAD

    oklch(63% 0.115 327.4)

  7. Step 600

    600

    #995798

    oklch(55.6% 0.123 327.6)

  8. Step 700

    700

    #834682

    oklch(49.1% 0.117 327.8)

  9. Step 800

    800

    #6A3A6A

    oklch(42.7% 0.096 327.1)

  10. Step 900

    900

    #563256

    oklch(37.6% 0.075 326.9)

  11. Step 950

    950 (this color)

    #170517

    oklch(15.8% 0.047 327.5)

Export this scale for Tailwind in the Tailwind colors tool

#170517 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)#040A180.047
Deuteranopia (no green cones)#080C160.041
Tritanopia (no blue cones)#18070C0.028
Achromatopsia (no color)#0C0C0C0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #170517

    #170517

    oklch(15.8% 0.047 327.5)

  • #001203

    #001203

    oklch(15.9% 0.046 148.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170517

    #170517

    oklch(15.8% 0.047 327.5)

  • #10071E

    #10071E

    oklch(15.8% 0.048 299.3)

  • #1C040D

    #1C040D

    oklch(16% 0.047 358.3)

Open the analogous palette in the generator

Split complementary

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

  • #170517

    #170517

    oklch(15.8% 0.047 327.5)

  • #0C0F00

    #0C0F00

    oklch(15.9% 0.037 117.5)

  • #00110D

    #00110D

    oklch(15.9% 0.029 178)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170517

    #170517

    oklch(15.8% 0.047 327.5)

  • #130C00

    #130C00

    oklch(15.9% 0.033 87.5)

  • #001013

    #001013

    oklch(15.8% 0.027 208.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170517

    #170517

    oklch(15.8% 0.047 327.5)

  • #190800

    #190800

    oklch(15.9% 0.039 56.9)

  • #001203

    #001203

    oklch(15.9% 0.046 148.4)

  • #000F1A

    #000F1A

    oklch(16% 0.035 236.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #170517 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.