#171230

Closest named color: Rich Black (#0D1B2A). oklch(20.7% 0.057 288), rgb(23, 18, 48).

Aa

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

About this color

#171230 is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.057 and its hue 288°. 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 18.01:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.057)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text18.01:1

Values

HEX#171230
RGBrgb(23, 18, 48)
HSLhsl(250, 45%, 13%)
OKLCHoklch(20.7% 0.057 288)

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 #171230 18.01:1 AAA Lc -106.8 Preferred for body text
Black text on #171230 1.16:1 Fails Lc 0.0 Not readable
#171230 text on white 18.01:1 AAA Lc 104.7 Preferred for body text
#171230 text on black 1.16: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

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D7D6F1

    oklch(88.5% 0.037 287.3)

  4. Step 300

    300

    #BEBAEB

    oklch(80.9% 0.069 288.5)

  5. Step 400

    400

    #9D95E1

    oklch(70.6% 0.11 288.1)

  6. Step 500

    500

    #867AD8

    oklch(63.2% 0.138 287.6)

  7. Step 600

    600

    #7161C5

    oklch(55.6% 0.15 287.9)

  8. Step 700

    700

    #5F4FAB

    oklch(49.1% 0.142 288)

  9. Step 800

    800

    #4D418A

    oklch(42.6% 0.117 287.9)

  10. Step 900

    900

    #40386E

    oklch(37.7% 0.09 288.1)

  11. Step 950

    950 (this color)

    #171230

    oklch(20.7% 0.057 288)

Export this scale for Tailwind in the Tailwind colors tool

#171230 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)#0517310.030
Deuteranopia (no green cones)#05162F0.030
Tritanopia (no blue cones)#10181E0.048
Achromatopsia (no color)#1616160.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #171230

    #171230

    oklch(20.7% 0.057 288)

  • #1A1900

    #1A1900

    oklch(20.8% 0.045 107.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171230

    #171230

    oklch(20.7% 0.057 288)

  • #061731

    #061731

    oklch(20.7% 0.057 258.3)

  • #220E28

    #220E28

    oklch(20.7% 0.056 318)

Open the analogous palette in the generator

Split complementary

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

  • #171230

    #171230

    oklch(20.7% 0.057 288)

  • #221500

    #221500

    oklch(20.8% 0.043 79.6)

  • #091D02

    #091D02

    oklch(20.6% 0.057 137.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171230

    #171230

    oklch(20.7% 0.057 288)

  • #2B0E00

    #2B0E00

    oklch(20.7% 0.056 49.1)

  • #001E14

    #001E14

    oklch(20.9% 0.042 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171230

    #171230

    oklch(20.7% 0.057 288)

  • #2D0A0D

    #2D0A0D

    oklch(20.7% 0.058 18.7)

  • #1A1900

    #1A1900

    oklch(20.8% 0.045 107.7)

  • #001C1D

    #001C1D

    oklch(20.6% 0.035 198)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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