#26172D

Closest named color: Dark (#1B2431). oklch(23.5% 0.046 314.5), rgb(38, 23, 45).

Aa

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

About this color

#26172D is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.046 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.045 away. White text reads best on it, at 16.89:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.046)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.24:1
White text16.89:1

Values

HEX#26172D
RGBrgb(38, 23, 45)
HSLhsl(281, 32%, 13%)
OKLCHoklch(23.5% 0.046 314.5)

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 #26172D 16.89:1 AAA Lc -106.1 Preferred for body text
Black text on #26172D 1.24:1 Fails Lc 0.0 Not readable
#26172D text on white 16.89:1 AAA Lc 103.7 Preferred for body text
#26172D text on black 1.24: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E1D4E7

    oklch(88.6% 0.029 315.3)

  4. Step 300

    300

    #CEB7D9

    oklch(81% 0.053 314.9)

  5. Step 400

    400

    #B590C7

    oklch(70.7% 0.088 314.5)

  6. Step 500

    500

    #A274B8

    oklch(63% 0.111 314.3)

  7. Step 600

    600

    #8D5CA4

    oklch(55.6% 0.12 314.3)

  8. Step 700

    700

    #784B8C

    oklch(49.1% 0.112 314.7)

  9. Step 800

    800

    #623E72

    oklch(42.8% 0.093 314.8)

  10. Step 900

    900

    #50355C

    oklch(37.7% 0.073 314.9)

  11. Step 950

    950 (this color)

    #26172D

    oklch(23.5% 0.046 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#26172D 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)#131C2E0.038
Deuteranopia (no green cones)#171D2C0.034
Tritanopia (no blue cones)#261A1F0.032
Achromatopsia (no color)#1D1D1D0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #26172D

    #26172D

    oklch(23.5% 0.046 314.5)

  • #15230B

    #15230B

    oklch(23.6% 0.046 133.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #26172D

    #26172D

    oklch(23.5% 0.046 314.5)

  • #1C1B33

    #1C1B33

    oklch(23.6% 0.045 284.2)

  • #2D1523

    #2D1523

    oklch(23.6% 0.045 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #26172D

    #26172D

    oklch(23.5% 0.046 314.5)

  • #221F02

    #221F02

    oklch(23.6% 0.047 103.8)

  • #032518

    #032518

    oklch(23.6% 0.047 163.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #26172D

    #26172D

    oklch(23.5% 0.046 314.5)

  • #2B1A02

    #2B1A02

    oklch(23.5% 0.047 73.4)

  • #002424

    #002424

    oklch(23.6% 0.04 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #26172D

    #26172D

    oklch(23.5% 0.046 314.5)

  • #30160B

    #30160B

    oklch(23.5% 0.046 43)

  • #15230B

    #15230B

    oklch(23.6% 0.046 133.8)

  • #00222E

    #00222E

    oklch(23.5% 0.045 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #26172D 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.