#4E1B40

Closest named color: Grape Purple (#5D1451). oklch(31.5% 0.091 339.7), rgb(78, 27, 64).

Aa

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

About this color

#4E1B40 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.091 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.045 away. White text reads best on it, at 13.50:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.55:1
White text13.50:1

Values

HEX#4E1B40
RGBrgb(78, 27, 64)
HSLhsl(316, 49%, 21%)
OKLCHoklch(31.5% 0.091 339.7)

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 #4E1B40 13.50:1 AAA Lc -102.7 Preferred for body text
Black text on #4E1B40 1.55:1 Fails Lc 0.0 Not readable
#4E1B40 text on white 13.50:1 AAA Lc 99.5 Preferred for body text
#4E1B40 text on black 1.55: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

    #FDF2F9

    oklch(97.2% 0.015 338.9)

  2. Step 100

    100

    #F9E2F1

    oklch(93.6% 0.032 338.6)

  3. Step 200

    200

    #F5CAE6

    oklch(88.4% 0.06 339.3)

  4. Step 300

    300

    #F0A5D7

    oklch(80.9% 0.109 339.8)

  5. Step 400

    400

    #E470C3

    oklch(70.7% 0.173 339.4)

  6. Step 500

    500

    #D941B3

    oklch(63.1% 0.221 339.6)

  7. Step 600

    600

    #C4049F

    oklch(55.6% 0.24 339.5)

  8. Step 700

    700

    #A60086

    oklch(49% 0.213 339.5)

  9. Step 800

    800

    #89016E

    oklch(42.6% 0.185 339.6)

  10. Step 900

    900

    #6F1459

    oklch(37.8% 0.144 340)

  11. Step 950

    950 (this color)

    #4E1B40

    oklch(31.5% 0.091 339.7)

Export this scale for Tailwind in the Tailwind colors tool

#4E1B40 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)#1E29410.097
Deuteranopia (no green cones)#2D313F0.085
Tritanopia (no blue cones)#531C2A0.043
Achromatopsia (no color)#2E2E2E0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E1B40

    #4E1B40

    oklch(31.5% 0.091 339.7)

  • #003C24

    #003C24

    oklch(31.4% 0.072 159.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E1B40

    #4E1B40

    oklch(31.5% 0.091 339.7)

  • #3F2154

    #3F2154

    oklch(31.4% 0.093 309.2)

  • #561827

    #561827

    oklch(31.5% 0.092 9.6)

Open the analogous palette in the generator

Split complementary

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

  • #4E1B40

    #4E1B40

    oklch(31.5% 0.091 339.7)

  • #233900

    #233900

    oklch(31.4% 0.084 129.6)

  • #003A37

    #003A37

    oklch(31.4% 0.054 189.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E1B40

    #4E1B40

    oklch(31.5% 0.091 339.7)

  • #3A3200

    #3A3200

    oklch(31.6% 0.066 99.5)

  • #003845

    #003845

    oklch(31.5% 0.057 219)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E1B40

    #4E1B40

    oklch(31.5% 0.091 339.7)

  • #472A00

    #472A00

    oklch(31.4% 0.068 69.8)

  • #003C24

    #003C24

    oklch(31.4% 0.072 159.5)

  • #00335C

    #00335C

    oklch(31.6% 0.088 249.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4E1B40 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.