#4D1D40

Closest named color: Grape Purple (#5D1451). oklch(31.6% 0.087 339.2), rgb(77, 29, 64).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.56:1
White text13.41:1

Values

HEX#4D1D40
RGBrgb(77, 29, 64)
HSLhsl(316, 45%, 21%)
OKLCHoklch(31.6% 0.087 339.2)

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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F4CBE6

    oklch(88.5% 0.058 338.9)

  4. Step 300

    300

    #EDA7D6

    oklch(80.9% 0.102 339.4)

  5. Step 400

    400

    #E173C2

    oklch(70.6% 0.165 339)

  6. Step 500

    500

    #D647B2

    oklch(63.2% 0.211 339.4)

  7. Step 600

    600

    #C11A9E

    oklch(55.7% 0.229 339.2)

  8. Step 700

    700

    #A60387

    oklch(49.2% 0.213 339.2)

  9. Step 800

    800

    #870E6D

    oklch(42.7% 0.176 339.6)

  10. Step 900

    900

    #6D1959

    oklch(37.8% 0.137 339.3)

  11. Step 950

    950 (this color)

    #4D1D40

    oklch(31.6% 0.087 339.2)

Export this scale for Tailwind in the Tailwind colors tool

#4D1D40 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)#1F2A410.092
Deuteranopia (no green cones)#2D323F0.082
Tritanopia (no blue cones)#511E2B0.040
Achromatopsia (no color)#2F2F2F0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D1D40

    #4D1D40

    oklch(31.6% 0.087 339.2)

  • #003D24

    #003D24

    oklch(31.7% 0.073 158.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D1D40

    #4D1D40

    oklch(31.6% 0.087 339.2)

  • #3F2353

    #3F2353

    oklch(31.7% 0.088 309.2)

  • #551B28

    #551B28

    oklch(31.7% 0.087 9.9)

Open the analogous palette in the generator

Split complementary

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

  • #4D1D40

    #4D1D40

    oklch(31.6% 0.087 339.2)

  • #243900

    #243900

    oklch(31.5% 0.083 128.9)

  • #003A38

    #003A38

    oklch(31.5% 0.054 191)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D1D40

    #4D1D40

    oklch(31.6% 0.087 339.2)

  • #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.

  • #4D1D40

    #4D1D40

    oklch(31.6% 0.087 339.2)

  • #482A00

    #482A00

    oklch(31.6% 0.069 68.7)

  • #003D24

    #003D24

    oklch(31.7% 0.073 158.9)

  • #01335B

    #01335B

    oklch(31.5% 0.086 249.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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