#21041F

Closest named color: Very Dark Purple (#2A0134). oklch(18.1% 0.067 330.7), rgb(33, 4, 31).

Aa

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

About this color

#21041F is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.067 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.047 away. White text reads best on it, at 19.05:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.067)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.10:1
White text19.05:1

Values

HEX#21041F
RGBrgb(33, 4, 31)
HSLhsl(304, 78%, 7%)
OKLCHoklch(18.1% 0.067 330.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 #21041F 19.05:1 AAA Lc -107.2 Preferred for body text
Black text on #21041F 1.10:1 Fails Lc 0.0 Not readable
#21041F text on white 19.05:1 AAA Lc 105.1 Preferred for body text
#21041F text on black 1.10: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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E5F1

    oklch(93.6% 0.022 330.3)

  3. Step 200

    200

    #EBCFE7

    oklch(88.5% 0.044 330.6)

  4. Step 300

    300

    #DFAED9

    oklch(80.8% 0.08 330.4)

  5. Step 400

    400

    #CD82C5

    oklch(70.7% 0.127 330.7)

  6. Step 500

    500

    #BF60B6

    oklch(63.2% 0.162 330.9)

  7. Step 600

    600

    #AA43A2

    oklch(55.6% 0.176 330.8)

  8. Step 700

    700

    #91348B

    oklch(49.1% 0.163 330.4)

  9. Step 800

    800

    #762C71

    oklch(42.7% 0.136 330.4)

  10. Step 900

    900

    #60295B

    oklch(37.8% 0.105 331)

  11. Step 950

    950 (this color)

    #21041F

    oklch(18.1% 0.067 330.7)

Export this scale for Tailwind in the Tailwind colors tool

#21041F 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)#030D200.070
Deuteranopia (no green cones)#0B111E0.061
Tritanopia (no blue cones)#2306100.035
Achromatopsia (no color)#1010100.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #21041F

    #21041F

    oklch(18.1% 0.067 330.7)

  • #001706

    #001706

    oklch(17.9% 0.048 151)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21041F

    #21041F

    oklch(18.1% 0.067 330.7)

  • #17082A

    #17082A

    oklch(18.1% 0.066 300.2)

  • #270210

    #270210

    oklch(18.1% 0.066 1.1)

Open the analogous palette in the generator

Split complementary

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

  • #21041F

    #21041F

    oklch(18.1% 0.067 330.7)

  • #0F1400

    #0F1400

    oklch(17.9% 0.043 120.4)

  • #001612

    #001612

    oklch(17.9% 0.033 180.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21041F

    #21041F

    oklch(18.1% 0.067 330.7)

  • #181100

    #181100

    oklch(18.1% 0.037 91.1)

  • #00151A

    #00151A

    oklch(18% 0.032 213.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21041F

    #21041F

    oklch(18.1% 0.067 330.7)

  • #1F0C00

    #1F0C00

    oklch(18% 0.043 59)

  • #001706

    #001706

    oklch(17.9% 0.048 151)

  • #001422

    #001422

    oklch(18.2% 0.041 239)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21041F 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.