#27113C

Closest named color: Midnight Purple (#280137). oklch(23.6% 0.08 304.5), rgb(39, 17, 60).

Aa

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

About this color

#27113C is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.080 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.037 away. White text reads best on it, at 17.04:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.23:1
White text17.04:1

Values

HEX#27113C
RGBrgb(39, 17, 60)
HSLhsl(271, 56%, 15%)
OKLCHoklch(23.6% 0.08 304.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 #27113C 17.04:1 AAA Lc -106.1 Preferred for body text
Black text on #27113C 1.23:1 Fails Lc 0.0 Not readable
#27113C text on white 17.04:1 AAA Lc 103.7 Preferred for body text
#27113C text on black 1.23: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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F6

    oklch(88.5% 0.053 304.9)

  4. Step 300

    300

    #CEB1F3

    oklch(80.8% 0.096 304.4)

  5. Step 400

    400

    #B686EC

    oklch(70.7% 0.152 304.5)

  6. Step 500

    500

    #A563E6

    oklch(63.1% 0.194 304.7)

  7. Step 600

    600

    #9045D4

    oklch(55.6% 0.211 304.4)

  8. Step 700

    700

    #7B35B8

    oklch(49.1% 0.196 304.5)

  9. Step 800

    800

    #642D95

    oklch(42.7% 0.163 304.5)

  10. Step 900

    900

    #512A77

    oklch(37.6% 0.128 304.2)

  11. Step 950

    950 (this color)

    #27113C

    oklch(23.6% 0.08 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#27113C 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)#001B3D0.066
Deuteranopia (no green cones)#071C3B0.059
Tritanopia (no blue cones)#231A240.059
Achromatopsia (no color)#1C1C1C0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #27113C

    #27113C

    oklch(23.6% 0.08 304.5)

  • #182300

    #182300

    oklch(23.7% 0.06 125.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27113C

    #27113C

    oklch(23.6% 0.08 304.5)

  • #141843

    #141843

    oklch(23.5% 0.08 274.4)

  • #330B2D

    #330B2D

    oklch(23.5% 0.08 334.3)

Open the analogous palette in the generator

Split complementary

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

  • #27113C

    #27113C

    oklch(23.6% 0.08 304.5)

  • #261E00

    #261E00

    oklch(23.7% 0.049 94.7)

  • #002611

    #002611

    oklch(23.6% 0.059 154.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27113C

    #27113C

    oklch(23.6% 0.08 304.5)

  • #2F1800

    #2F1800

    oklch(23.6% 0.053 64.9)

  • #002421

    #002421

    oklch(23.4% 0.041 186.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27113C

    #27113C

    oklch(23.6% 0.08 304.5)

  • #3C0901

    #3C0901

    oklch(23.5% 0.081 34.3)

  • #182300

    #182300

    oklch(23.7% 0.06 125.1)

  • #00232A

    #00232A

    oklch(23.5% 0.041 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27113C 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.