#221745

Closest named color: Dark Indigo (#1F0954). oklch(24.8% 0.083 290), rgb(34, 23, 69).

Aa

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

About this color

#221745 is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.083 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.041 away. White text reads best on it, at 16.45:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameDark Indigo (#1F0954)
Black text1.27:1
White text16.45:1

Values

HEX#221745
RGBrgb(34, 23, 69)
HSLhsl(254, 50%, 18%)
OKLCHoklch(24.8% 0.083 290)

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 #221745 16.45:1 AAA Lc -105.7 Preferred for body text
Black text on #221745 1.27:1 Fails Lc 0.0 Not readable
#221745 text on white 16.45:1 AAA Lc 103.2 Preferred for body text
#221745 text on black 1.27: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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D4FB

    oklch(88.5% 0.053 290)

  4. Step 300

    300

    #BFB6FC

    oklch(80.9% 0.098 289.9)

  5. Step 400

    400

    #A18DFA

    oklch(70.7% 0.156 290.3)

  6. Step 500

    500

    #8C6CF7

    oklch(63.2% 0.199 290.1)

  7. Step 600

    600

    #784EE6

    oklch(55.6% 0.217 290.2)

  8. Step 700

    700

    #653DC8

    oklch(49% 0.202 290.1)

  9. Step 800

    800

    #5234A2

    oklch(42.7% 0.168 289.9)

  10. Step 900

    900

    #432F80

    oklch(37.6% 0.13 290)

  11. Step 950

    950 (this color)

    #221745

    oklch(24.8% 0.083 290)

Export this scale for Tailwind in the Tailwind colors tool

#221745 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)#0020470.049
Deuteranopia (no green cones)#001E440.049
Tritanopia (no blue cones)#17212B0.067
Achromatopsia (no color)#1F1F1F0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #221745

    #221745

    oklch(24.8% 0.083 290)

  • #232300

    #232300

    oklch(24.8% 0.054 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #221745

    #221745

    oklch(24.8% 0.083 290)

  • #061F48

    #061F48

    oklch(24.9% 0.083 259.8)

  • #321039

    #321039

    oklch(24.8% 0.083 320.4)

Open the analogous palette in the generator

Split complementary

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

  • #221745

    #221745

    oklch(24.8% 0.083 290)

  • #2E1E00

    #2E1E00

    oklch(24.9% 0.051 80.2)

  • #062A00

    #062A00

    oklch(25% 0.081 140.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #221745

    #221745

    oklch(24.8% 0.083 290)

  • #391500

    #391500

    oklch(24.7% 0.066 49.2)

  • #00281D

    #00281D

    oklch(24.6% 0.049 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #221745

    #221745

    oklch(24.8% 0.083 290)

  • #400A10

    #400A10

    oklch(24.8% 0.082 19.8)

  • #232300

    #232300

    oklch(24.8% 0.054 109.8)

  • #002729

    #002729

    oklch(24.8% 0.042 200)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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