#27031B

Closest named color: Very Dark Purple (#2A0134). oklch(18.9% 0.07 343.9), rgb(39, 3, 27).

Aa

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

About this color

#27031B is a very dark, moderately saturated purple. In OKLCH its lightness is 19%, its chroma 0.070 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.051 away. White text reads best on it, at 18.83:1.

Hue familyPurples
Lightnessvery dark (19%)
Chromamoderately saturated (0.070)
Temperaturewarm
Nearest nameVery Dark Purple (#2A0134)
Black text1.11:1
White text18.83:1

Values

HEX#27031B
RGBrgb(39, 3, 27)
HSLhsl(320, 86%, 8%)
OKLCHoklch(18.9% 0.07 343.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 #27031B 18.83:1 AAA Lc -107.0 Preferred for body text
Black text on #27031B 1.11:1 Fails Lc 0.0 Not readable
#27031B text on white 18.83:1 AAA Lc 104.9 Preferred for body text
#27031B text on black 1.11: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4EE

    oklch(93.6% 0.024 342.9)

  3. Step 200

    200

    #F0CEE1

    oklch(88.6% 0.045 343.4)

  4. Step 300

    300

    #E8ABCE

    oklch(80.8% 0.084 343.8)

  5. Step 400

    400

    #DA7DB5

    oklch(70.8% 0.133 344.1)

  6. Step 500

    500

    #CD58A3

    oklch(63.1% 0.17 343.8)

  7. Step 600

    600

    #B8398D

    oklch(55.6% 0.184 344.2)

  8. Step 700

    700

    #9E2978

    oklch(49% 0.172 344)

  9. Step 800

    800

    #802562

    oklch(42.7% 0.142 343.7)

  10. Step 900

    900

    #682450

    oklch(37.8% 0.111 344)

  11. Step 950

    950 (this color)

    #27031B

    oklch(18.9% 0.07 343.9)

Export this scale for Tailwind in the Tailwind colors tool

#27031B 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)#060D1C0.078
Deuteranopia (no green cones)#11141A0.069
Tritanopia (no blue cones)#2A030D0.030
Achromatopsia (no color)#1111110.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #27031B

    #27031B

    oklch(18.9% 0.07 343.9)

  • #00190E

    #00190E

    oklch(18.9% 0.041 162.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27031B

    #27031B

    oklch(18.9% 0.07 343.9)

  • #1E0629

    #1E0629

    oklch(18.7% 0.071 313.3)

  • #2B020A

    #2B020A

    oklch(18.8% 0.069 13.5)

Open the analogous palette in the generator

Split complementary

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

  • #27031B

    #27031B

    oklch(18.9% 0.07 343.9)

  • #081800

    #081800

    oklch(18.7% 0.054 134.3)

  • #001818

    #001818

    oklch(18.9% 0.032 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27031B

    #27031B

    oklch(18.9% 0.07 343.9)

  • #171400

    #171400

    oklch(18.9% 0.04 102.6)

  • #00171F

    #00171F

    oklch(19% 0.035 222.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27031B

    #27031B

    oklch(18.9% 0.07 343.9)

  • #1E1000

    #1E1000

    oklch(18.8% 0.04 73)

  • #00190E

    #00190E

    oklch(18.9% 0.041 162.8)

  • #00132D

    #00132D

    oklch(18.8% 0.06 254)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27031B 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.