#4D254A

Closest named color: Grape Purple (#5D1451). oklch(33.4% 0.081 330), rgb(77, 37, 74).

Aa

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

About this color

#4D254A is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.081 and its hue 330°. 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.50:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.67:1
White text12.50:1

Values

HEX#4D254A
RGBrgb(77, 37, 74)
HSLhsl(304, 35%, 22%)
OKLCHoklch(33.4% 0.081 330)

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 #4D254A 12.50:1 AAA Lc -101.6 Preferred for body text
Black text on #4D254A 1.67:1 Fails Lc 0.0 Not readable
#4D254A text on white 12.50:1 AAA Lc 98.1 Preferred for body text
#4D254A text on black 1.67: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

    #F9F4F8

    oklch(97.2% 0.007 332.1)

  2. Step 100

    100

    #F1E6EF

    oklch(93.6% 0.017 331.6)

  3. Step 200

    200

    #E7D2E4

    oklch(88.6% 0.033 330.5)

  4. Step 300

    300

    #D8B3D4

    oklch(80.9% 0.061 329.7)

  5. Step 400

    400

    #C38ABE

    oklch(70.6% 0.098 329.6)

  6. Step 500

    500

    #B36CAD

    oklch(63.1% 0.124 330)

  7. Step 600

    600

    #9E5298

    oklch(55.5% 0.135 330.2)

  8. Step 700

    700

    #874282

    oklch(49% 0.126 330.1)

  9. Step 800

    800

    #6E376A

    oklch(42.7% 0.105 330)

  10. Step 900

    900 (this color)

    #4D254A

    oklch(33.4% 0.081 330)

  11. Step 950

    950

    #341D32

    oklch(27% 0.05 330)

Export this scale for Tailwind in the Tailwind colors tool

#4D254A 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)#23304B0.080
Deuteranopia (no green cones)#2E36490.072
Tritanopia (no blue cones)#5028340.043
Achromatopsia (no color)#3434340.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D254A

    #4D254A

    oklch(33.4% 0.081 330)

  • #0D421E

    #0D421E

    oklch(33.5% 0.082 149.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D254A

    #4D254A

    oklch(33.4% 0.081 330)

  • #3D2B5A

    #3D2B5A

    oklch(33.4% 0.082 299.6)

  • #572235

    #572235

    oklch(33.5% 0.081 360)

Open the analogous palette in the generator

Split complementary

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

  • #4D254A

    #4D254A

    oklch(33.4% 0.081 330)

  • #313C00

    #313C00

    oklch(33.4% 0.08 120.5)

  • #004038

    #004038

    oklch(33.3% 0.06 181.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D254A

    #4D254A

    oklch(33.4% 0.081 330)

  • #443400

    #443400

    oklch(33.3% 0.068 89.7)

  • #003E47

    #003E47

    oklch(33.4% 0.058 210.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D254A

    #4D254A

    oklch(33.4% 0.081 330)

  • #532B00

    #532B00

    oklch(33.5% 0.078 60.2)

  • #0D421E

    #0D421E

    oklch(33.5% 0.082 149.7)

  • #003A59

    #003A59

    oklch(33.2% 0.076 240.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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