#220B3A

Closest named color: Midnight Purple (#280137). oklch(21.7% 0.086 302), rgb(34, 11, 58).

Aa

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

About this color

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

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

Values

HEX#220B3A
RGBrgb(34, 11, 58)
HSLhsl(269, 68%, 14%)
OKLCHoklch(21.7% 0.086 302)

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 #220B3A 17.84:1 AAA Lc -106.6 Preferred for body text
Black text on #220B3A 1.17:1 Fails Lc 0.0 Not readable
#220B3A text on white 17.84:1 AAA Lc 104.3 Preferred for body text
#220B3A 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #E0D1F9

    oklch(88.5% 0.057 302.3)

  4. Step 300

    300

    #CDB1F8

    oklch(80.9% 0.102 302.2)

  5. Step 400

    400

    #B485F4

    oklch(70.7% 0.163 302)

  6. Step 500

    500

    #A360F0

    oklch(63.1% 0.209 302.2)

  7. Step 600

    600

    #8E40DE

    oklch(55.5% 0.227 301.9)

  8. Step 700

    700

    #7930C1

    oklch(49.1% 0.211 301.8)

  9. Step 800

    800

    #622A9C

    oklch(42.6% 0.175 301.7)

  10. Step 900

    900

    #50297C

    oklch(37.8% 0.135 301.8)

  11. Step 950

    950 (this color)

    #220B3A

    oklch(21.7% 0.086 302)

Export this scale for Tailwind in the Tailwind colors tool

#220B3A 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)#00173B0.063
Deuteranopia (no green cones)#0017390.063
Tritanopia (no blue cones)#1D16210.063
Achromatopsia (no color)#1818180.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #220B3A

    #220B3A

    oklch(21.7% 0.086 302)

  • #161D00

    #161D00

    oklch(21.6% 0.052 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #220B3A

    #220B3A

    oklch(21.7% 0.086 302)

  • #0E1341

    #0E1341

    oklch(21.8% 0.086 272.2)

  • #2F052B

    #2F052B

    oklch(21.8% 0.085 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #220B3A

    #220B3A

    oklch(21.7% 0.086 302)

  • #211900

    #211900

    oklch(21.7% 0.044 92.8)

  • #00210C

    #00210C

    oklch(21.7% 0.057 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #220B3A

    #220B3A

    oklch(21.7% 0.086 302)

  • #2A1400

    #2A1400

    oklch(21.8% 0.05 62.7)

  • #00201B

    #00201B

    oklch(21.8% 0.039 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #220B3A

    #220B3A

    oklch(21.7% 0.086 302)

  • #370300

    #370300

    oklch(21.6% 0.083 31.7)

  • #161D00

    #161D00

    oklch(21.6% 0.052 121.4)

  • #001E24

    #001E24

    oklch(21.6% 0.038 213)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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