#271122

Closest named color: Rich Black (#0D1B2A). oklch(21.7% 0.046 336.1), rgb(39, 17, 34).

Aa

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

About this color

#271122 is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.046 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.056 away. White text reads best on it, at 17.65:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamuted (0.046)
Temperaturewarm
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.65:1

Values

HEX#271122
RGBrgb(39, 17, 34)
HSLhsl(314, 39%, 11%)
OKLCHoklch(21.7% 0.046 336.1)

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 #271122 17.65:1 AAA Lc -106.6 Preferred for body text
Black text on #271122 1.18:1 Fails Lc 0.0 Not readable
#271122 text on white 17.65:1 AAA Lc 104.3 Preferred for body text
#271122 text on black 1.18: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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6EE

    oklch(93.6% 0.016 335.1)

  3. Step 200

    200

    #E7D2E1

    oklch(88.5% 0.031 335.9)

  4. Step 300

    300

    #D8B4CE

    oklch(80.9% 0.054 336.1)

  5. Step 400

    400

    #C48CB5

    oklch(70.8% 0.087 336.6)

  6. Step 500

    500

    #B36EA3

    oklch(63% 0.112 335.8)

  7. Step 600

    600

    #9E558E

    oklch(55.5% 0.121 335.8)

  8. Step 700

    700

    #874579

    oklch(49% 0.113 335.7)

  9. Step 800

    800

    #6E3962

    oklch(42.6% 0.094 336.2)

  10. Step 900

    900

    #593250

    oklch(37.7% 0.072 336)

  11. Step 950

    950 (this color)

    #271122

    oklch(21.7% 0.046 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#271122 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)#1117230.047
Deuteranopia (no green cones)#171A210.043
Tritanopia (no blue cones)#2912170.024
Achromatopsia (no color)#1919190.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #271122

    #271122

    oklch(21.7% 0.046 336.1)

  • #042011

    #042011

    oklch(21.7% 0.045 156.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271122

    #271122

    oklch(21.7% 0.046 336.1)

  • #1F142B

    #1F142B

    oklch(21.8% 0.046 304.9)

  • #2B1017

    #2B1017

    oklch(21.7% 0.046 5.2)

Open the analogous palette in the generator

Split complementary

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

  • #271122

    #271122

    oklch(21.7% 0.046 336.1)

  • #151E04

    #151E04

    oklch(21.9% 0.047 125.7)

  • #00201D

    #00201D

    oklch(21.9% 0.038 186)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271122

    #271122

    oklch(21.7% 0.046 336.1)

  • #201A00

    #201A00

    oklch(21.8% 0.045 97.4)

  • #001E25

    #001E25

    oklch(21.6% 0.038 215.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271122

    #271122

    oklch(21.7% 0.046 336.1)

  • #281501

    #281501

    oklch(21.7% 0.046 66.6)

  • #042011

    #042011

    oklch(21.7% 0.045 156.7)

  • #051C2E

    #051C2E

    oklch(21.9% 0.046 245.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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