#27172D

Closest named color: Dark (#1B2431). oklch(23.6% 0.047 316.4), rgb(39, 23, 45).

Aa

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

About this color

#27172D is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.047 and its hue 316°. 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.84:1.

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

Values

HEX#27172D
RGBrgb(39, 23, 45)
HSLhsl(284, 32%, 13%)
OKLCHoklch(23.6% 0.047 316.4)

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

    #E1D3E7

    oklch(88.4% 0.031 315.9)

  4. Step 300

    300

    #CFB6D9

    oklch(80.9% 0.056 316.3)

  5. Step 400

    400

    #B790C6

    oklch(70.8% 0.088 316.5)

  6. Step 500

    500

    #A473B7

    oklch(63% 0.113 316.2)

  7. Step 600

    600

    #8F5BA3

    oklch(55.6% 0.122 316.1)

  8. Step 700

    700

    #7A4A8B

    oklch(49.1% 0.114 316.8)

  9. Step 800

    800

    #633D71

    oklch(42.7% 0.094 316.5)

  10. Step 900

    900

    #51355C

    oklch(37.8% 0.073 316)

  11. Step 950

    950 (this color)

    #27172D

    oklch(23.6% 0.047 316.4)

Export this scale for Tailwind in the Tailwind colors tool

#27172D 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.039
Deuteranopia (no green cones)#171E2C0.037
Tritanopia (no blue cones)#271A1F0.032
Achromatopsia (no color)#1D1D1D0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #27172D

    #27172D

    oklch(23.6% 0.047 316.4)

  • #14230C

    #14230C

    oklch(23.6% 0.046 135.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27172D

    #27172D

    oklch(23.6% 0.047 316.4)

  • #1D1B33

    #1D1B33

    oklch(23.7% 0.045 286.2)

  • #2E1523

    #2E1523

    oklch(23.7% 0.046 346.5)

Open the analogous palette in the generator

Split complementary

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

  • #27172D

    #27172D

    oklch(23.6% 0.047 316.4)

  • #212003

    #212003

    oklch(23.7% 0.046 107.6)

  • #022519

    #022519

    oklch(23.6% 0.047 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27172D

    #27172D

    oklch(23.6% 0.047 316.4)

  • #2B1B02

    #2B1B02

    oklch(23.7% 0.047 76)

  • #002425

    #002425

    oklch(23.6% 0.04 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27172D

    #27172D

    oklch(23.6% 0.047 316.4)

  • #30170A

    #30170A

    oklch(23.7% 0.046 47)

  • #14230C

    #14230C

    oklch(23.6% 0.046 135.7)

  • #00222F

    #00222F

    oklch(23.5% 0.046 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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