#170317

Closest named color: Very Dark Brown (#1D0200). oklch(15.3% 0.054 327.8), rgb(23, 3, 23).

Aa

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

About this color

#170317 is a very dark, muted purple. In OKLCH its lightness is 15%, its chroma 0.054 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.059 away. White text reads best on it, at 19.77:1.

Hue familyPurples
Lightnessvery dark (15%)
Chromamuted (0.054)
Temperaturein between
Nearest nameVery Dark Brown (#1D0200)
Black text1.06:1
White text19.77:1

Values

HEX#170317
RGBrgb(23, 3, 23)
HSLhsl(300, 77%, 5%)
OKLCHoklch(15.3% 0.054 327.8)

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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E7D1E5

    oklch(88.5% 0.036 328.7)

  4. Step 300

    300

    #D8B3D6

    oklch(81% 0.063 327.9)

  5. Step 400

    400

    #C389C1

    oklch(70.6% 0.103 327.8)

  6. Step 500

    500

    #B36BB1

    oklch(63.1% 0.13 328)

  7. Step 600

    600

    #9E519D

    oklch(55.6% 0.142 327.8)

  8. Step 700

    700

    #874186

    oklch(49.1% 0.132 327.9)

  9. Step 800

    800

    #6E366D

    oklch(42.7% 0.11 327.9)

  10. Step 900

    900

    #593058

    oklch(37.7% 0.084 328)

  11. Step 950

    950 (this color)

    #170317

    oklch(15.3% 0.054 327.8)

Export this scale for Tailwind in the Tailwind colors tool

#170317 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)#0208180.055
Deuteranopia (no green cones)#070B160.047
Tritanopia (no blue cones)#18050B0.030
Achromatopsia (no color)#0A0A0A0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #170317

    #170317

    oklch(15.3% 0.054 327.8)

  • #001002

    #001002

    oklch(15.1% 0.045 147)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170317

    #170317

    oklch(15.3% 0.054 327.8)

  • #0F051F

    #0F051F

    oklch(15.2% 0.055 298.4)

  • #1C020C

    #1C020C

    oklch(15.4% 0.053 357.6)

Open the analogous palette in the generator

Split complementary

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

  • #170317

    #170317

    oklch(15.3% 0.054 327.8)

  • #0B0E00

    #0B0E00

    oklch(15.5% 0.036 117.7)

  • #000F0C

    #000F0C

    oklch(15.1% 0.027 181.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170317

    #170317

    oklch(15.3% 0.054 327.8)

  • #110B00

    #110B00

    oklch(15.3% 0.031 89.9)

  • #000F11

    #000F11

    oklch(15.4% 0.026 204.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170317

    #170317

    oklch(15.3% 0.054 327.8)

  • #170700

    #170700

    oklch(15.2% 0.037 56.7)

  • #001002

    #001002

    oklch(15.1% 0.045 147)

  • #000D18

    #000D18

    oklch(15.1% 0.034 238.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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