#220D34

Closest named color: Midnight Purple (#280137). oklch(21.5% 0.075 305.8), rgb(34, 13, 52).

Aa

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

About this color

#220D34 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.075 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.030 away. White text reads best on it, at 17.86:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.17:1
White text17.86:1

Values

HEX#220D34
RGBrgb(34, 13, 52)
HSLhsl(272, 60%, 13%)
OKLCHoklch(21.5% 0.075 305.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 #220D34 17.86:1 AAA Lc -106.6 Preferred for body text
Black text on #220D34 1.17:1 Fails Lc 0.0 Not readable
#220D34 text on white 17.86:1 AAA Lc 104.4 Preferred for body text
#220D34 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E1D1F4

    oklch(88.4% 0.05 306)

  4. Step 300

    300

    #CEB2EE

    oklch(80.8% 0.088 305.8)

  5. Step 400

    400

    #B688E6

    oklch(70.7% 0.141 305.6)

  6. Step 500

    500

    #A566DE

    oklch(63.1% 0.181 306.1)

  7. Step 600

    600

    #904ACC

    oklch(55.6% 0.196 305.7)

  8. Step 700

    700

    #7B3AB1

    oklch(49.2% 0.183 305.8)

  9. Step 800

    800

    #64318F

    oklch(42.8% 0.151 305.9)

  10. Step 900

    900

    #512C72

    oklch(37.6% 0.118 305.9)

  11. Step 950

    950 (this color)

    #220D34

    oklch(21.5% 0.075 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#220D34 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)#0017350.062
Deuteranopia (no green cones)#0517330.056
Tritanopia (no blue cones)#1F151E0.054
Achromatopsia (no color)#1717170.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #220D34

    #220D34

    oklch(21.5% 0.075 305.8)

  • #131D00

    #131D00

    oklch(21.3% 0.054 125.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #220D34

    #220D34

    oklch(21.5% 0.075 305.8)

  • #11133B

    #11133B

    oklch(21.4% 0.076 275.8)

  • #2D0826

    #2D0826

    oklch(21.5% 0.074 336.3)

Open the analogous palette in the generator

Split complementary

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

  • #220D34

    #220D34

    oklch(21.5% 0.075 305.8)

  • #201900

    #201900

    oklch(21.6% 0.044 94.9)

  • #00200F

    #00200F

    oklch(21.4% 0.051 156.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #220D34

    #220D34

    oklch(21.5% 0.075 305.8)

  • #281400

    #281400

    oklch(21.5% 0.048 65.8)

  • #001F1C

    #001F1C

    oklch(21.5% 0.038 185.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #220D34

    #220D34

    oklch(21.5% 0.075 305.8)

  • #340700

    #340700

    oklch(21.5% 0.074 35.7)

  • #131D00

    #131D00

    oklch(21.3% 0.054 125.6)

  • #001E25

    #001E25

    oklch(21.6% 0.038 215.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #220D34 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.