#21082B

Closest named color: Very Dark Purple (#2A0134). oklch(19.8% 0.071 314.8), rgb(33, 8, 43).

Aa

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

About this color

#21082B is a very dark, moderately saturated purple. In OKLCH its lightness is 20%, its chroma 0.071 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.031 away. White text reads best on it, at 18.51:1.

Hue familyPurples
Lightnessvery dark (20%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.13:1
White text18.51:1

Values

HEX#21082B
RGBrgb(33, 8, 43)
HSLhsl(283, 69%, 10%)
OKLCHoklch(19.8% 0.071 314.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 #21082B 18.51:1 AAA Lc -107.0 Preferred for body text
Black text on #21082B 1.13:1 Fails Lc 0.0 Not readable
#21082B text on white 18.51:1 AAA Lc 104.8 Preferred for body text
#21082B 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E5D0EF

    oklch(88.4% 0.048 315)

  4. Step 300

    300

    #D5B1E7

    oklch(81% 0.084 314.3)

  5. Step 400

    400

    #C085DA

    oklch(70.6% 0.135 315)

  6. Step 500

    500

    #B064D0

    oklch(63.2% 0.172 315)

  7. Step 600

    600

    #9B47BD

    oklch(55.6% 0.188 314.9)

  8. Step 700

    700

    #8437A3

    oklch(49% 0.175 314.7)

  9. Step 800

    800

    #6B2F84

    oklch(42.6% 0.144 314.6)

  10. Step 900

    900

    #572B6A

    oklch(37.7% 0.113 314.6)

  11. Step 950

    950 (this color)

    #21082B

    oklch(19.8% 0.071 314.8)

Export this scale for Tailwind in the Tailwind colors tool

#21082B 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)#00122C0.068
Deuteranopia (no green cones)#07142A0.059
Tritanopia (no blue cones)#200F180.047
Achromatopsia (no color)#1313130.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #21082B

    #21082B

    oklch(19.8% 0.071 314.8)

  • #091B00

    #091B00

    oklch(19.9% 0.058 134.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21082B

    #21082B

    oklch(19.8% 0.071 314.8)

  • #140E34

    #140E34

    oklch(19.9% 0.072 285.1)

  • #2A041D

    #2A041D

    oklch(19.8% 0.072 344.6)

Open the analogous palette in the generator

Split complementary

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

  • #21082B

    #21082B

    oklch(19.8% 0.071 314.8)

  • #181600

    #181600

    oklch(19.6% 0.042 105.3)

  • #001B11

    #001B11

    oklch(19.7% 0.041 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21082B

    #21082B

    oklch(19.8% 0.071 314.8)

  • #201200

    #201200

    oklch(19.7% 0.041 74.9)

  • #001A1A

    #001A1A

    oklch(19.7% 0.034 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21082B

    #21082B

    oklch(19.8% 0.071 314.8)

  • #290B00

    #290B00

    oklch(19.8% 0.056 45.5)

  • #091B00

    #091B00

    oklch(19.9% 0.058 134.8)

  • #001922

    #001922

    oklch(19.8% 0.037 223.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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