#171530

Closest named color: Rich Black (#0D1B2A). oklch(21.4% 0.052 284.5), rgb(23, 21, 48).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.052)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.70:1

Values

HEX#171530
RGBrgb(23, 21, 48)
HSLhsl(244, 39%, 14%)
OKLCHoklch(21.4% 0.052 284.5)

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 #171530 17.70:1 AAA Lc -106.7 Preferred for body text
Black text on #171530 1.18:1 Fails Lc 0.0 Not readable
#171530 text on white 17.70:1 AAA Lc 104.4 Preferred for body text
#171530 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D6D7F0

    oklch(88.6% 0.034 283.9)

  4. Step 300

    300

    #BBBCE8

    oklch(80.9% 0.062 283.9)

  5. Step 400

    400

    #9998DC

    oklch(70.7% 0.099 284.3)

  6. Step 500

    500

    #827DD2

    oklch(63.1% 0.126 284.9)

  7. Step 600

    600

    #6C65BF

    oklch(55.6% 0.136 284.6)

  8. Step 700

    700

    #5A53A5

    oklch(49% 0.128 284.5)

  9. Step 800

    800

    #4A4586

    oklch(42.8% 0.105 284.5)

  10. Step 900

    900

    #3D3A6B

    oklch(37.6% 0.082 284.5)

  11. Step 950

    950 (this color)

    #171530

    oklch(21.4% 0.052 284.5)

Export this scale for Tailwind in the Tailwind colors tool

#171530 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)#0A19310.023
Deuteranopia (no green cones)#09172F0.023
Tritanopia (no blue cones)#0F1B200.045
Achromatopsia (no color)#1818180.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #171530

    #171530

    oklch(21.4% 0.052 284.5)

  • #1D1A00

    #1D1A00

    oklch(21.4% 0.045 103.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171530

    #171530

    oklch(21.4% 0.052 284.5)

  • #071A30

    #071A30

    oklch(21.5% 0.05 253.6)

  • #22112A

    #22112A

    oklch(21.5% 0.052 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #171530

    #171530

    oklch(21.4% 0.052 284.5)

  • #251600

    #251600

    oklch(21.5% 0.045 76.3)

  • #0E1E04

    #0E1E04

    oklch(21.3% 0.052 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171530

    #171530

    oklch(21.4% 0.052 284.5)

  • #2C1004

    #2C1004

    oklch(21.4% 0.051 44.3)

  • #002014

    #002014

    oklch(21.6% 0.046 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171530

    #171530

    oklch(21.4% 0.052 284.5)

  • #2D0D12

    #2D0D12

    oklch(21.4% 0.053 13.2)

  • #1D1A00

    #1D1A00

    oklch(21.4% 0.045 103.7)

  • #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 #171530, closest first.

Similar named colors

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

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