#220828

Closest named color: Very Dark Purple (#2A0134). oklch(19.7% 0.068 319.7), rgb(34, 8, 40).

Aa

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

About this color

#220828 is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.068 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.033 away. White text reads best on it, at 18.52:1.

Hue familyPurples
Lightnessvery dark (20%)
Chromamuted (0.068)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.13:1
White text18.52:1

Values

HEX#220828
RGBrgb(34, 8, 40)
HSLhsl(289, 67%, 9%)
OKLCHoklch(19.7% 0.068 319.7)

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 #220828 18.52:1 AAA Lc -107.0 Preferred for body text
Black text on #220828 1.13:1 Fails Lc 0.0 Not readable
#220828 text on white 18.52:1 AAA Lc 104.9 Preferred for body text
#220828 text on black 1.13: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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0EC

    oklch(88.5% 0.045 320.2)

  4. Step 300

    300

    #D8B0E2

    oklch(80.9% 0.081 319.5)

  5. Step 400

    400

    #C485D3

    oklch(70.8% 0.13 319.7)

  6. Step 500

    500

    #B464C7

    oklch(63.2% 0.165 319.7)

  7. Step 600

    600

    #9F47B3

    oklch(55.5% 0.18 319.8)

  8. Step 700

    700

    #88389A

    oklch(49.1% 0.166 319.8)

  9. Step 800

    800

    #6E2F7D

    oklch(42.6% 0.138 319.5)

  10. Step 900

    900

    #5A2B65

    oklch(37.8% 0.108 319.7)

  11. Step 950

    950 (this color)

    #220828

    oklch(19.7% 0.068 319.7)

Export this scale for Tailwind in the Tailwind colors tool

#220828 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)#0212290.067
Deuteranopia (no green cones)#0A14270.058
Tritanopia (no blue cones)#220D160.043
Achromatopsia (no color)#1313130.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #220828

    #220828

    oklch(19.7% 0.068 319.7)

  • #041C00

    #041C00

    oklch(19.9% 0.063 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #220828

    #220828

    oklch(19.7% 0.068 319.7)

  • #160D31

    #160D31

    oklch(19.6% 0.068 290.2)

  • #2A051A

    #2A051A

    oklch(19.8% 0.068 349.5)

Open the analogous palette in the generator

Split complementary

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

  • #220828

    #220828

    oklch(19.7% 0.068 319.7)

  • #171700

    #171700

    oklch(19.8% 0.043 109.8)

  • #001B12

    #001B12

    oklch(19.7% 0.04 168.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #220828

    #220828

    oklch(19.7% 0.068 319.7)

  • #1F1300

    #1F1300

    oklch(19.8% 0.041 80.2)

  • #001A1B

    #001A1B

    oklch(19.8% 0.034 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #220828

    #220828

    oklch(19.7% 0.068 319.7)

  • #270C00

    #270C00

    oklch(19.6% 0.052 49)

  • #041C00

    #041C00

    oklch(19.9% 0.063 139.4)

  • #001823

    #001823

    oklch(19.6% 0.039 229.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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