#22133D

Closest named color: Midnight Purple (#280137). oklch(23.3% 0.077 296.4), rgb(34, 19, 61).

Aa

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

About this color

#22133D is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.077 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.043 away. White text reads best on it, at 17.09:1.

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

Values

HEX#22133D
RGBrgb(34, 19, 61)
HSLhsl(261, 53%, 16%)
OKLCHoklch(23.3% 0.077 296.4)

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 #22133D 17.09:1 AAA Lc -106.2 Preferred for body text
Black text on #22133D 1.22:1 Fails Lc 0.0 Not readable
#22133D text on white 17.09:1 AAA Lc 103.8 Preferred for body text
#22133D text on black 1.22: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F8

    oklch(88.6% 0.051 296.5)

  4. Step 300

    300

    #C6B5F5

    oklch(81% 0.091 296.5)

  5. Step 400

    400

    #AA8BF0

    oklch(70.6% 0.146 296.6)

  6. Step 500

    500

    #966BEB

    oklch(63.1% 0.186 296.2)

  7. Step 600

    600

    #824ED9

    oklch(55.6% 0.203 296.4)

  8. Step 700

    700

    #6E3DBD

    oklch(49% 0.19 296.2)

  9. Step 800

    800

    #5A3499

    oklch(42.8% 0.157 296.5)

  10. Step 900

    900

    #492F79

    oklch(37.7% 0.121 296.3)

  11. Step 950

    950 (this color)

    #22133D

    oklch(23.3% 0.077 296.4)

Export this scale for Tailwind in the Tailwind colors tool

#22133D 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)#001C3E0.054
Deuteranopia (no green cones)#031B3C0.051
Tritanopia (no blue cones)#1B1C250.061
Achromatopsia (no color)#1C1C1C0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #22133D

    #22133D

    oklch(23.3% 0.077 296.4)

  • #1C2100

    #1C2100

    oklch(23.4% 0.054 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22133D

    #22133D

    oklch(23.3% 0.077 296.4)

  • #0D1A41

    #0D1A41

    oklch(23.3% 0.076 266.5)

  • #2F0D30

    #2F0D30

    oklch(23.3% 0.076 326.5)

Open the analogous palette in the generator

Split complementary

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

  • #22133D

    #22133D

    oklch(23.3% 0.077 296.4)

  • #281C00

    #281C00

    oklch(23.5% 0.048 86.2)

  • #002606

    #002606

    oklch(23.4% 0.071 146.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22133D

    #22133D

    oklch(23.3% 0.077 296.4)

  • #311500

    #311500

    oklch(23.3% 0.057 56.2)

  • #00241D

    #00241D

    oklch(23.3% 0.043 176.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22133D

    #22133D

    oklch(23.3% 0.077 296.4)

  • #3A0908

    #3A0908

    oklch(23.2% 0.077 26.5)

  • #1C2100

    #1C2100

    oklch(23.4% 0.054 117.7)

  • #002327

    #002327

    oklch(23.4% 0.04 205.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22133D 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.