#17152F

Closest named color: Rich Black (#0D1B2A). oklch(21.4% 0.05 284.8), rgb(23, 21, 47).

Aa

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

About this color

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

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

Values

HEX#17152F
RGBrgb(23, 21, 47)
HSLhsl(245, 38%, 13%)
OKLCHoklch(21.4% 0.05 284.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 #17152F 17.72:1 AAA Lc -106.7 Preferred for body text
Black text on #17152F 1.18:1 Fails Lc 0.0 Not readable
#17152F text on white 17.72:1 AAA Lc 104.5 Preferred for body text
#17152F 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

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D6D7EF

    oklch(88.6% 0.033 283.8)

  4. Step 300

    300

    #BCBCE6

    oklch(80.9% 0.059 285)

  5. Step 400

    400

    #9A98DA

    oklch(70.6% 0.096 285.1)

  6. Step 500

    500

    #827ED0

    oklch(63.2% 0.122 284.6)

  7. Step 600

    600

    #6C66BD

    oklch(55.7% 0.132 284.4)

  8. Step 700

    700

    #5B54A3

    oklch(49.2% 0.123 284.9)

  9. Step 800

    800

    #4A4584

    oklch(42.7% 0.102 284.8)

  10. Step 900

    900

    #3E3B6A

    oklch(37.9% 0.079 284.9)

  11. Step 950

    950 (this color)

    #17152F

    oklch(21.4% 0.05 284.8)

Export this scale for Tailwind in the Tailwind colors tool

#17152F 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)#0B19300.022
Deuteranopia (no green cones)#0A172E0.022
Tritanopia (no blue cones)#101A1F0.043
Achromatopsia (no color)#1818180.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #17152F

    #17152F

    oklch(21.4% 0.05 284.8)

  • #1C1A00

    #1C1A00

    oklch(21.3% 0.045 105.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #17152F

    #17152F

    oklch(21.4% 0.05 284.8)

  • #071930

    #071930

    oklch(21.3% 0.052 255.5)

  • #221129

    #221129

    oklch(21.4% 0.051 315.4)

Open the analogous palette in the generator

Split complementary

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

  • #17152F

    #17152F

    oklch(21.4% 0.05 284.8)

  • #251500

    #251500

    oklch(21.2% 0.045 73.6)

  • #0E1E05

    #0E1E05

    oklch(21.3% 0.05 135.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #17152F

    #17152F

    oklch(21.4% 0.05 284.8)

  • #2B1004

    #2B1004

    oklch(21.2% 0.05 45.1)

  • #001F14

    #001F14

    oklch(21.2% 0.044 166)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #17152F

    #17152F

    oklch(21.4% 0.05 284.8)

  • #2C0E12

    #2C0E12

    oklch(21.4% 0.05 14.1)

  • #1C1A00

    #1C1A00

    oklch(21.3% 0.045 105.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 #17152F, closest first.

Similar named colors

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

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