#171332

Closest named color: Rich Black (#0D1B2A). oklch(21.1% 0.059 286.1), rgb(23, 19, 50).

Aa

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

About this color

#171332 is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.059 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.037 away. White text reads best on it, at 17.86:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.059)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.86:1

Values

HEX#171332
RGBrgb(23, 19, 50)
HSLhsl(248, 45%, 14%)
OKLCHoklch(21.1% 0.059 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 #171332 17.86:1 AAA Lc -106.7 Preferred for body text
Black text on #171332 1.17:1 Fails Lc 0.0 Not readable
#171332 text on white 17.86:1 AAA Lc 104.5 Preferred for body text
#171332 text on black 1.17: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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F2

    oklch(88.5% 0.038 285.6)

  4. Step 300

    300

    #BCBBED

    oklch(81% 0.07 285.6)

  5. Step 400

    400

    #9B96E3

    oklch(70.8% 0.111 286.2)

  6. Step 500

    500

    #837ADB

    oklch(63.1% 0.143 285.8)

  7. Step 600

    600

    #6E61C9

    oklch(55.7% 0.156 285.9)

  8. Step 700

    700

    #5C4FAE

    oklch(49% 0.146 285.9)

  9. Step 800

    800

    #4B428C

    oklch(42.7% 0.118 285.8)

  10. Step 900

    900

    #3E3870

    oklch(37.6% 0.093 285.9)

  11. Step 950

    950 (this color)

    #171332

    oklch(21.1% 0.059 286.1)

Export this scale for Tailwind in the Tailwind colors tool

#171332 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)#0518330.030
Deuteranopia (no green cones)#0516310.029
Tritanopia (no blue cones)#0E1A200.050
Achromatopsia (no color)#1717170.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #171332

    #171332

    oklch(21.1% 0.059 286.1)

  • #1B1A00

    #1B1A00

    oklch(21.2% 0.046 107.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171332

    #171332

    oklch(21.1% 0.059 286.1)

  • #041833

    #041833

    oklch(21% 0.06 256)

  • #230E2A

    #230E2A

    oklch(21% 0.059 317.1)

Open the analogous palette in the generator

Split complementary

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

  • #171332

    #171332

    oklch(21.1% 0.059 286.1)

  • #241500

    #241500

    oklch(21.1% 0.044 75.5)

  • #0A1E01

    #0A1E01

    oklch(21% 0.06 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171332

    #171332

    oklch(21.1% 0.059 286.1)

  • #2D0D00

    #2D0D00

    oklch(21% 0.059 45.8)

  • #001F14

    #001F14

    oklch(21.2% 0.044 166)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171332

    #171332

    oklch(21.1% 0.059 286.1)

  • #2E0A0F

    #2E0A0F

    oklch(21% 0.059 15.6)

  • #1B1A00

    #1B1A00

    oklch(21.2% 0.046 107.8)

  • #001E1E

    #001E1E

    oklch(21.3% 0.036 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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