#22143B

Closest named color: Midnight Purple (#280137). oklch(23.4% 0.072 297), rgb(34, 20, 59).

Aa

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

About this color

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

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

Values

HEX#22143B
RGBrgb(34, 20, 59)
HSLhsl(262, 49%, 15%)
OKLCHoklch(23.4% 0.072 297)

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 #22143B 17.05:1 AAA Lc -106.2 Preferred for body text
Black text on #22143B 1.23:1 Fails Lc 0.0 Not readable
#22143B text on white 17.05:1 AAA Lc 103.8 Preferred for body text
#22143B text on black 1.23: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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DCD3F6

    oklch(88.5% 0.049 297.2)

  4. Step 300

    300

    #C6B5F2

    oklch(80.8% 0.087 297.2)

  5. Step 400

    400

    #AA8DEB

    oklch(70.7% 0.137 297)

  6. Step 500

    500

    #966DE5

    oklch(63.1% 0.176 296.8)

  7. Step 600

    600

    #8251D3

    oklch(55.6% 0.191 297.1)

  8. Step 700

    700

    #6E41B7

    oklch(49.1% 0.178 296.9)

  9. Step 800

    800

    #593694

    oklch(42.6% 0.148 296.8)

  10. Step 900

    900

    #493076

    oklch(37.6% 0.115 297)

  11. Step 950

    950 (this color)

    #22143B

    oklch(23.4% 0.072 297)

Export this scale for Tailwind in the Tailwind colors tool

#22143B 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)#031C3C0.050
Deuteranopia (no green cones)#061B3A0.047
Tritanopia (no blue cones)#1C1C250.056
Achromatopsia (no color)#1C1C1C0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #22143B

    #22143B

    oklch(23.4% 0.072 297)

  • #1C2100

    #1C2100

    oklch(23.4% 0.054 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22143B

    #22143B

    oklch(23.4% 0.072 297)

  • #0E1A3F

    #0E1A3F

    oklch(23.2% 0.073 267.1)

  • #2F0F2F

    #2F0F2F

    oklch(23.5% 0.072 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #22143B

    #22143B

    oklch(23.4% 0.072 297)

  • #271C00

    #271C00

    oklch(23.3% 0.048 88.1)

  • #002607

    #002607

    oklch(23.4% 0.07 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22143B

    #22143B

    oklch(23.4% 0.072 297)

  • #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.

  • #22143B

    #22143B

    oklch(23.4% 0.072 297)

  • #390B09

    #390B09

    oklch(23.3% 0.073 26.9)

  • #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 #22143B, closest first.

Similar named colors

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

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