#170C20

Closest named color: Rich Navy (#001219). oklch(18.1% 0.042 308.1), rgb(23, 12, 32).

Aa

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

About this color

#170C20 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.042 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.052 away. White text reads best on it, at 18.92:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.042)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.10:1
White text18.92:1

Values

HEX#170C20
RGBrgb(23, 12, 32)
HSLhsl(273, 45%, 9%)
OKLCHoklch(18.1% 0.042 308.1)

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 #170C20 18.92:1 AAA Lc -107.3 Preferred for body text
Black text on #170C20 1.10:1 Fails Lc 0.0 Not readable
#170C20 text on white 18.92:1 AAA Lc 105.3 Preferred for body text
#170C20 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #ECE7F1

    oklch(93.5% 0.014 308.3)

  3. Step 200

    200

    #DED5E8

    oklch(88.6% 0.027 307)

  4. Step 300

    300

    #CAB8DA

    oklch(80.8% 0.051 309)

  5. Step 400

    400

    #AE93C7

    oklch(70.6% 0.08 308)

  6. Step 500

    500

    #9B78B9

    oklch(63.1% 0.102 308.4)

  7. Step 600

    600

    #8560A5

    oklch(55.5% 0.111 307.8)

  8. Step 700

    700

    #714F8E

    oklch(49.1% 0.104 307.9)

  9. Step 800

    800

    #5C4173

    oklch(42.7% 0.086 308)

  10. Step 900

    900

    #4B375D

    oklch(37.6% 0.068 307.6)

  11. Step 950

    950 (this color)

    #170C20

    oklch(18.1% 0.042 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#170C20 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)#0710210.033
Deuteranopia (no green cones)#0A111F0.030
Tritanopia (no blue cones)#160F140.030
Achromatopsia (no color)#1111110.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #170C20

    #170C20

    oklch(18.1% 0.042 308.1)

  • #0C1502

    #0C1502

    oklch(18.1% 0.041 128.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170C20

    #170C20

    oklch(18.1% 0.042 308.1)

  • #0E0F24

    #0E0F24

    oklch(18.1% 0.043 279.2)

  • #1D0A18

    #1D0A18

    oklch(18.1% 0.041 338)

Open the analogous palette in the generator

Split complementary

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

  • #170C20

    #170C20

    oklch(18.1% 0.042 308.1)

  • #161200

    #161200

    oklch(18.2% 0.038 99.5)

  • #00170A

    #00170A

    oklch(18% 0.042 157.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170C20

    #170C20

    oklch(18.1% 0.042 308.1)

  • #1D0E00

    #1D0E00

    oklch(18.1% 0.04 68.7)

  • #001614

    #001614

    oklch(18% 0.031 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170C20

    #170C20

    oklch(18.1% 0.042 308.1)

  • #210A04

    #210A04

    oklch(18.1% 0.042 38.7)

  • #0C1502

    #0C1502

    oklch(18.1% 0.041 128.7)

  • #00151B

    #00151B

    oklch(18.1% 0.032 217.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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