#171038

Closest named color: Navy Blue (#001146). oklch(21% 0.074 286.1), rgb(23, 16, 56).

Aa

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

About this color

#171038 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.074 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.045 away. White text reads best on it, at 17.98:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.16:1
White text17.98:1

Values

HEX#171038
RGBrgb(23, 16, 56)
HSLhsl(251, 56%, 14%)
OKLCHoklch(21% 0.074 286.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 #171038 17.98:1 AAA Lc -106.8 Preferred for body text
Black text on #171038 1.16:1 Fails Lc 0.0 Not readable
#171038 text on white 17.98:1 AAA Lc 104.5 Preferred for body text
#171038 text on black 1.16: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

    #F4F4FD

    oklch(97% 0.012 286.2)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D6D5F9

    oklch(88.5% 0.049 286.6)

  4. Step 300

    300

    #BBB9F7

    oklch(80.9% 0.087 285.8)

  5. Step 400

    400

    #9A92F4

    oklch(70.8% 0.141 285.9)

  6. Step 500

    500

    #8473EF

    oklch(63.1% 0.18 286.3)

  7. Step 600

    600

    #6F58DE

    oklch(55.7% 0.195 286)

  8. Step 700

    700

    #5D47C1

    oklch(49.2% 0.182 285.9)

  9. Step 800

    800

    #4C3B9C

    oklch(42.7% 0.151 286.2)

  10. Step 900

    900

    #3F347C

    oklch(37.8% 0.118 286.3)

  11. Step 950

    950 (this color)

    #171038

    oklch(21% 0.074 286.1)

Export this scale for Tailwind in the Tailwind colors tool

#171038 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)#0018390.039
Deuteranopia (no green cones)#0016370.038
Tritanopia (no blue cones)#0B19220.060
Achromatopsia (no color)#1717170.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #171038

    #171038

    oklch(21% 0.074 286.1)

  • #1B1900

    #1B1900

    oklch(20.9% 0.044 105.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171038

    #171038

    oklch(21% 0.074 286.1)

  • #001738

    #001738

    oklch(21% 0.072 256)

  • #250A2F

    #250A2F

    oklch(21.1% 0.075 315.6)

Open the analogous palette in the generator

Split complementary

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

  • #171038

    #171038

    oklch(21% 0.074 286.1)

  • #241500

    #241500

    oklch(21.1% 0.044 75.5)

  • #091E00

    #091E00

    oklch(20.9% 0.062 136.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171038

    #171038

    oklch(21% 0.074 286.1)

  • #2D0D00

    #2D0D00

    oklch(21% 0.059 45.8)

  • #001E14

    #001E14

    oklch(20.9% 0.042 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171038

    #171038

    oklch(21% 0.074 286.1)

  • #33040C

    #33040C

    oklch(21.1% 0.075 16.3)

  • #1B1900

    #1B1900

    oklch(20.9% 0.044 105.7)

  • #001D1E

    #001D1E

    oklch(20.9% 0.036 198)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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