#17142F

Closest named color: Rich Black (#0D1B2A). oklch(21.1% 0.052 286.1), rgb(23, 20, 47).

Aa

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

About this color

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

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

Values

HEX#17142F
RGBrgb(23, 20, 47)
HSLhsl(247, 40%, 13%)
OKLCHoklch(21.1% 0.052 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 #17142F 17.83:1 AAA Lc -106.8 Preferred for body text
Black text on #17142F 1.17:1 Fails Lc 0.0 Not readable
#17142F text on white 17.83:1 AAA Lc 104.5 Preferred for body text
#17142F 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D7D6EF

    oklch(88.5% 0.034 287.5)

  4. Step 300

    300

    #BDBBE7

    oklch(80.8% 0.062 287)

  5. Step 400

    400

    #9B97DB

    oklch(70.6% 0.099 286.3)

  6. Step 500

    500

    #847DD2

    oklch(63.2% 0.126 286)

  7. Step 600

    600

    #6E64BF

    oklch(55.6% 0.137 286)

  8. Step 700

    700

    #5C53A5

    oklch(49.2% 0.127 285.7)

  9. Step 800

    800

    #4B4485

    oklch(42.6% 0.105 286)

  10. Step 900

    900

    #3E3A6B

    oklch(37.7% 0.082 285.5)

  11. Step 950

    950 (this color)

    #17142F

    oklch(21.1% 0.052 286.1)

Export this scale for Tailwind in the Tailwind colors tool

#17142F 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)#0918300.024
Deuteranopia (no green cones)#09172E0.024
Tritanopia (no blue cones)#101A1F0.045
Achromatopsia (no color)#1818180.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #17142F

    #17142F

    oklch(21.1% 0.052 286.1)

  • #1B1A00

    #1B1A00

    oklch(21.2% 0.046 107.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #17142F

    #17142F

    oklch(21.1% 0.052 286.1)

  • #071930

    #071930

    oklch(21.3% 0.052 255.5)

  • #221028

    #221028

    oklch(21.1% 0.052 317.2)

Open the analogous palette in the generator

Split complementary

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

  • #17142F

    #17142F

    oklch(21.1% 0.052 286.1)

  • #241500

    #241500

    oklch(21.1% 0.044 75.5)

  • #0D1E04

    #0D1E04

    oklch(21.3% 0.053 135.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #17142F

    #17142F

    oklch(21.1% 0.052 286.1)

  • #2B0F03

    #2B0F03

    oklch(21% 0.052 45)

  • #001F14

    #001F14

    oklch(21.2% 0.044 166)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #17142F

    #17142F

    oklch(21.1% 0.052 286.1)

  • #2C0D10

    #2C0D10

    oklch(21.1% 0.051 16.7)

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

Similar named colors

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

Use #17142F 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.