#170C19

Closest named color: Almost Black (#070D0D). oklch(17.6% 0.031 321.2), rgb(23, 12, 25).

Aa

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

About this color

#170C19 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.031 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.045 away. White text reads best on it, at 19.03:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.031)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.10:1
White text19.03:1

Values

HEX#170C19
RGBrgb(23, 12, 25)
HSLhsl(291, 35%, 7%)
OKLCHoklch(17.6% 0.031 321.2)

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 #170C19 19.03:1 AAA Lc -107.4 Preferred for body text
Black text on #170C19 1.10:1 Fails Lc 0.0 Not readable
#170C19 text on white 19.03:1 AAA Lc 105.4 Preferred for body text
#170C19 text on black 1.10: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

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EDE8EE

    oklch(93.7% 0.01 320.5)

  3. Step 200

    200

    #E0D5E1

    oklch(88.5% 0.02 323.2)

  4. Step 300

    300

    #CCB9CF

    oklch(80.8% 0.037 321.6)

  5. Step 400

    400

    #B295B7

    oklch(70.7% 0.059 321.3)

  6. Step 500

    500

    #9F7BA5

    oklch(63.2% 0.074 321.6)

  7. Step 600

    600

    #896390

    oklch(55.5% 0.081 321.1)

  8. Step 700

    700

    #75527B

    oklch(49.2% 0.076 321.5)

  9. Step 800

    800

    #5F4364

    oklch(42.7% 0.064 321.3)

  10. Step 900

    900

    #4E3951

    oklch(37.7% 0.048 322.2)

  11. Step 950

    950 (this color)

    #170C19

    oklch(17.6% 0.031 321.2)

Export this scale for Tailwind in the Tailwind colors tool

#170C19 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)#0A0F190.028
Deuteranopia (no green cones)#0D10190.024
Tritanopia (no blue cones)#170D110.018
Achromatopsia (no color)#1010100.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #170C19

    #170C19

    oklch(17.6% 0.031 321.2)

  • #091407

    #091407

    oklch(17.6% 0.031 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170C19

    #170C19

    oklch(17.6% 0.031 321.2)

  • #110E1D

    #110E1D

    oklch(17.6% 0.031 292.1)

  • #1B0B12

    #1B0B12

    oklch(17.7% 0.03 352.9)

Open the analogous palette in the generator

Split complementary

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

  • #170C19

    #170C19

    oklch(17.6% 0.031 321.2)

  • #111203

    #111203

    oklch(17.6% 0.031 112.2)

  • #02150F

    #02150F

    oklch(17.6% 0.03 171.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170C19

    #170C19

    oklch(17.6% 0.031 321.2)

  • #180F02

    #180F02

    oklch(17.6% 0.031 79.4)

  • #001516

    #001516

    oklch(17.8% 0.03 198.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170C19

    #170C19

    oklch(17.6% 0.031 321.2)

  • #1B0C05

    #1B0C05

    oklch(17.4% 0.03 48.1)

  • #091407

    #091407

    oklch(17.6% 0.031 140.2)

  • #02131C

    #02131C

    oklch(17.6% 0.031 231.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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