#27173A

Closest named color: Dark Purple (#35063E). oklch(24.5% 0.066 302.9), rgb(39, 23, 58).

Aa

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

About this color

#27173A is a very dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.066 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.046 away. White text reads best on it, at 16.53:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamuted (0.066)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.26:1
White text16.53:1

Values

HEX#27173A
RGBrgb(39, 23, 58)
HSLhsl(267, 43%, 16%)
OKLCHoklch(24.5% 0.066 302.9)

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 #27173A 16.53:1 AAA Lc -105.8 Preferred for body text
Black text on #27173A 1.26:1 Fails Lc 0.0 Not readable
#27173A text on white 16.53:1 AAA Lc 103.3 Preferred for body text
#27173A text on black 1.26: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F7

    oklch(93.7% 0.022 302.9)

  3. Step 200

    200

    #DFD3F2

    oklch(88.6% 0.044 303.1)

  4. Step 300

    300

    #CAB5EB

    oklch(80.9% 0.078 302.4)

  5. Step 400

    400

    #B08CE1

    oklch(70.6% 0.126 302.8)

  6. Step 500

    500

    #9E6DD8

    oklch(63.1% 0.161 303.2)

  7. Step 600

    600

    #8953C5

    oklch(55.7% 0.173 303)

  8. Step 700

    700

    #7442AB

    oklch(49.1% 0.163 302.8)

  9. Step 800

    800

    #5E378A

    oklch(42.6% 0.134 302.8)

  10. Step 900

    900

    #4D316E

    oklch(37.7% 0.104 303)

  11. Step 950

    950 (this color)

    #27173A

    oklch(24.5% 0.066 302.9)

Export this scale for Tailwind in the Tailwind colors tool

#27173A 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)#0B1E3B0.049
Deuteranopia (no green cones)#101F390.045
Tritanopia (no blue cones)#241D250.050
Achromatopsia (no color)#1F1F1F0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #27173A

    #27173A

    oklch(24.5% 0.066 302.9)

  • #1B2500

    #1B2500

    oklch(24.6% 0.061 123.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27173A

    #27173A

    oklch(24.5% 0.066 302.9)

  • #161D40

    #161D40

    oklch(24.6% 0.067 272.1)

  • #32122E

    #32122E

    oklch(24.4% 0.067 332.4)

Open the analogous palette in the generator

Split complementary

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

  • #27173A

    #27173A

    oklch(24.5% 0.066 302.9)

  • #291F00

    #291F00

    oklch(24.4% 0.05 91.4)

  • #002911

    #002911

    oklch(24.6% 0.064 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27173A

    #27173A

    oklch(24.5% 0.066 302.9)

  • #331900

    #331900

    oklch(24.5% 0.056 61.8)

  • #002722

    #002722

    oklch(24.5% 0.044 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27173A

    #27173A

    oklch(24.5% 0.066 302.9)

  • #3A120A

    #3A120A

    oklch(24.6% 0.066 33.1)

  • #1B2500

    #1B2500

    oklch(24.6% 0.061 123.5)

  • #00262D

    #00262D

    oklch(24.7% 0.043 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27173A 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.