#271C2D

Closest named color: Dark (#1B2431). oklch(24.8% 0.035 313.3), rgb(39, 28, 45).

Aa

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

About this color

#271C2D is a very dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.035 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.032 away. White text reads best on it, at 16.27:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamuted (0.035)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.29:1
White text16.27:1

Values

HEX#271C2D
RGBrgb(39, 28, 45)
HSLhsl(279, 23%, 14%)
OKLCHoklch(24.8% 0.035 313.3)

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 #271C2D 16.27:1 AAA Lc -105.7 Preferred for body text
Black text on #271C2D 1.29:1 Fails Lc 0.0 Not readable
#271C2D text on white 16.27:1 AAA Lc 103.2 Preferred for body text
#271C2D text on black 1.29: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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE8F0

    oklch(93.7% 0.012 313.2)

  3. Step 200

    200

    #DFD5E4

    oklch(88.5% 0.023 314.7)

  4. Step 300

    300

    #CAB9D4

    oklch(80.8% 0.042 313.1)

  5. Step 400

    400

    #AF95BE

    oklch(70.7% 0.065 313.1)

  6. Step 500

    500

    #9C7AAE

    oklch(63.1% 0.085 313.6)

  7. Step 600

    600

    #86639A

    oklch(55.6% 0.092 312.7)

  8. Step 700

    700

    #725283

    oklch(49.2% 0.085 313.4)

  9. Step 800

    800

    #5D436B

    oklch(42.8% 0.072 313.3)

  10. Step 900

    900

    #4C3957

    oklch(37.8% 0.055 312.7)

  11. Step 950

    950 (this color)

    #271C2D

    oklch(24.8% 0.035 313.3)

Export this scale for Tailwind in the Tailwind colors tool

#271C2D 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)#191F2E0.027
Deuteranopia (no green cones)#1C202C0.024
Tritanopia (no blue cones)#271E220.024
Achromatopsia (no color)#2020200.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #271C2D

    #271C2D

    oklch(24.8% 0.035 313.3)

  • #1A2513

    #1A2513

    oklch(24.8% 0.036 134)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271C2D

    #271C2D

    oklch(24.8% 0.035 313.3)

  • #1F1F31

    #1F1F31

    oklch(24.8% 0.034 283.7)

  • #2D1A25

    #2D1A25

    oklch(24.7% 0.035 344.3)

Open the analogous palette in the generator

Split complementary

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

  • #271C2D

    #271C2D

    oklch(24.8% 0.035 313.3)

  • #24220D

    #24220D

    oklch(24.8% 0.035 103.8)

  • #10261C

    #10261C

    oklch(24.7% 0.034 162.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271C2D

    #271C2D

    oklch(24.8% 0.035 313.3)

  • #2B1E0D

    #2B1E0D

    oklch(24.6% 0.035 72.4)

  • #082626

    #082626

    oklch(24.7% 0.035 195.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271C2D

    #271C2D

    oklch(24.8% 0.035 313.3)

  • #2F1B13

    #2F1B13

    oklch(24.6% 0.035 42.5)

  • #1A2513

    #1A2513

    oklch(24.8% 0.036 134)

  • #0B252D

    #0B252D

    oklch(24.8% 0.035 221.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #271C2D 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.