#171532

Closest named color: Rich Black (#0D1B2A). oklch(21.6% 0.055 283.8), rgb(23, 21, 50).

Aa

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

About this color

#171532 is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.055 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.032 away. White text reads best on it, at 17.65:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamuted (0.055)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.65:1

Values

HEX#171532
RGBrgb(23, 21, 50)
HSLhsl(244, 41%, 14%)
OKLCHoklch(21.6% 0.055 283.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 #171532 17.65:1 AAA Lc -106.6 Preferred for body text
Black text on #171532 1.18:1 Fails Lc 0.0 Not readable
#171532 text on white 17.65:1 AAA Lc 104.4 Preferred for body text
#171532 text on black 1.18: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D5D6F1

    oklch(88.4% 0.037 283.9)

  4. Step 300

    300

    #BBBCEA

    oklch(81% 0.065 283.9)

  5. Step 400

    400

    #9898E0

    oklch(70.8% 0.104 283.4)

  6. Step 500

    500

    #807CD7

    oklch(63% 0.135 283.8)

  7. Step 600

    600

    #6B64C5

    oklch(55.7% 0.146 283.8)

  8. Step 700

    700

    #5952AA

    oklch(49.1% 0.136 283.8)

  9. Step 800

    800

    #49448A

    oklch(42.8% 0.113 283.8)

  10. Step 900

    900

    #3D3A6E

    oklch(37.8% 0.087 284)

  11. Step 950

    950 (this color)

    #171532

    oklch(21.6% 0.055 283.8)

Export this scale for Tailwind in the Tailwind colors tool

#171532 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)#091A330.025
Deuteranopia (no green cones)#0818310.024
Tritanopia (no blue cones)#0E1B210.047
Achromatopsia (no color)#1919190.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #171532

    #171532

    oklch(21.6% 0.055 283.8)

  • #1D1A00

    #1D1A00

    oklch(21.4% 0.045 103.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171532

    #171532

    oklch(21.6% 0.055 283.8)

  • #051A32

    #051A32

    oklch(21.6% 0.055 253.3)

  • #23112B

    #23112B

    oklch(21.7% 0.054 314.6)

Open the analogous palette in the generator

Split complementary

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

  • #171532

    #171532

    oklch(21.6% 0.055 283.8)

  • #261600

    #261600

    oklch(21.6% 0.046 74.4)

  • #0E1F03

    #0E1F03

    oklch(21.6% 0.055 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171532

    #171532

    oklch(21.6% 0.055 283.8)

  • #2E0F03

    #2E0F03

    oklch(21.6% 0.056 42.9)

  • #002014

    #002014

    oklch(21.6% 0.046 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171532

    #171532

    oklch(21.6% 0.055 283.8)

  • #2E0D12

    #2E0D12

    oklch(21.6% 0.054 13.6)

  • #1D1A00

    #1D1A00

    oklch(21.4% 0.045 103.7)

  • #001F1F

    #001F1F

    oklch(21.7% 0.037 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 #171532, closest first.

Similar named colors

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

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