#4D2161

Closest named color: Grape Purple (#5D1451). oklch(34.2% 0.114 313.7), rgb(77, 33, 97).

Aa

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

About this color

#4D2161 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.114 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.047 away. White text reads best on it, at 12.31:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.70:1
White text12.31:1

Values

HEX#4D2161
RGBrgb(77, 33, 97)
HSLhsl(281, 49%, 25%)
OKLCHoklch(34.2% 0.114 313.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 #4D2161 12.31:1 AAA Lc -101.1 Preferred for body text
Black text on #4D2161 1.70:1 Fails Lc 0.0 Not readable
#4D2161 text on white 12.31:1 AAA Lc 97.6 Preferred for body text
#4D2161 text on black 1.70: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 900.

  1. Step 50

    50

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F6

    oklch(93.6% 0.025 314)

  3. Step 200

    200

    #E5D0F0

    oklch(88.5% 0.049 314.2)

  4. Step 300

    300

    #D5B1E8

    oklch(81% 0.085 313.8)

  5. Step 400

    400

    #BF85DC

    oklch(70.6% 0.137 313.8)

  6. Step 500

    500

    #AF63D3

    oklch(63.1% 0.177 313.8)

  7. Step 600

    600

    #9A47C0

    oklch(55.7% 0.19 313.6)

  8. Step 700

    700

    #8337A5

    oklch(49% 0.177 313.6)

  9. Step 800

    800

    #6B2F86

    oklch(42.8% 0.146 313.7)

  10. Step 900

    900 (this color)

    #4D2161

    oklch(34.2% 0.114 313.7)

  11. Step 950

    950

    #331A3F

    oklch(27.1% 0.072 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#4D2161 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)#0932630.105
Deuteranopia (no green cones)#1E365F0.092
Tritanopia (no blue cones)#4B2D3D0.077
Achromatopsia (no color)#3535350.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D2161

    #4D2161

    oklch(34.2% 0.114 313.7)

  • #224200

    #224200

    oklch(34.1% 0.097 133.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D2161

    #4D2161

    oklch(34.2% 0.114 313.7)

  • #332C70

    #332C70

    oklch(34.2% 0.113 283.3)

  • #5E1847

    #5E1847

    oklch(34.2% 0.115 343.7)

Open the analogous palette in the generator

Split complementary

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

  • #4D2161

    #4D2161

    oklch(34.2% 0.114 313.7)

  • #3F3A00

    #3F3A00

    oklch(34.3% 0.072 104.2)

  • #00442E

    #00442E

    oklch(34.2% 0.073 163.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D2161

    #4D2161

    oklch(34.2% 0.114 313.7)

  • #4F3200

    #4F3200

    oklch(34.4% 0.073 73.9)

  • #004241

    #004241

    oklch(34.3% 0.059 193.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D2161

    #4D2161

    oklch(34.2% 0.114 313.7)

  • #602200

    #602200

    oklch(34.1% 0.099 43.9)

  • #224200

    #224200

    oklch(34.1% 0.097 133.4)

  • #003F51

    #003F51

    oklch(34.2% 0.064 224.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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