#24174B

Closest named color: Dark Indigo (#1F0954). oklch(25.6% 0.092 289.8), rgb(36, 23, 75).

Aa

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

About this color

#24174B is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.092 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.035 away. White text reads best on it, at 16.16:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.29:1
White text16.16:1

Values

HEX#24174B
RGBrgb(36, 23, 75)
HSLhsl(255, 53%, 19%)
OKLCHoklch(25.6% 0.092 289.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 #24174B 16.16:1 AAA Lc -105.4 Preferred for body text
Black text on #24174B 1.29:1 Fails Lc 0.0 Not readable
#24174B text on white 16.16:1 AAA Lc 102.9 Preferred for body text
#24174B text on black 1.29: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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E7FE

    oklch(93.6% 0.031 289.8)

  3. Step 200

    200

    #D8D3FF

    oklch(88.5% 0.06 290.3)

  4. Step 300

    300

    #BFB6FF

    oklch(81% 0.102 289.6)

  5. Step 400

    400

    #A08BFF

    oklch(70.6% 0.166 289.8)

  6. Step 500

    500

    #8C68FF

    oklch(63.1% 0.214 289.8)

  7. Step 600

    600

    #7945F3

    oklch(55.6% 0.242 289.8)

  8. Step 700

    700

    #6634D3

    oklch(49% 0.224 289.8)

  9. Step 800

    800

    #532EAB

    oklch(42.8% 0.186 289.7)

  10. Step 900

    900

    #442C87

    oklch(37.8% 0.144 289.9)

  11. Step 950

    950 (this color)

    #24174B

    oklch(25.6% 0.092 289.8)

Export this scale for Tailwind in the Tailwind colors tool

#24174B 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)#00224D0.052
Deuteranopia (no green cones)#001F4A0.051
Tritanopia (no blue cones)#18232E0.074
Achromatopsia (no color)#2121210.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #24174B

    #24174B

    oklch(25.6% 0.092 289.8)

  • #252500

    #252500

    oklch(25.6% 0.056 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #24174B

    #24174B

    oklch(25.6% 0.092 289.8)

  • #04204E

    #04204E

    oklch(25.6% 0.092 259.7)

  • #350F3E

    #350F3E

    oklch(25.5% 0.092 319.4)

Open the analogous palette in the generator

Split complementary

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

  • #24174B

    #24174B

    oklch(25.6% 0.092 289.8)

  • #301F00

    #301F00

    oklch(25.4% 0.053 79.1)

  • #072C00

    #072C00

    oklch(25.7% 0.083 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #24174B

    #24174B

    oklch(25.6% 0.092 289.8)

  • #3C1700

    #3C1700

    oklch(25.7% 0.068 50)

  • #002B1F

    #002B1F

    oklch(25.7% 0.051 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #24174B

    #24174B

    oklch(25.6% 0.092 289.8)

  • #45070F

    #45070F

    oklch(25.5% 0.091 20.2)

  • #252500

    #252500

    oklch(25.6% 0.056 109.8)

  • #00292B

    #00292B

    oklch(25.5% 0.043 199.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #24174B 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.