#4C254E

Closest named color: Grape Purple (#5D1451). oklch(33.5% 0.085 325.4), rgb(76, 37, 78).

Aa

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

About this color

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

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

Values

HEX#4C254E
RGBrgb(76, 37, 78)
HSLhsl(297, 36%, 23%)
OKLCHoklch(33.5% 0.085 325.4)

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 #4C254E 12.48:1 AAA Lc -101.5 Preferred for body text
Black text on #4C254E 1.68:1 Fails Lc 0.0 Not readable
#4C254E text on white 12.48:1 AAA Lc 98.1 Preferred for body text
#4C254E text on black 1.68: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

    #F9F4F9

    oklch(97.2% 0.008 325.6)

  2. Step 100

    100

    #F1E6F1

    oklch(93.7% 0.019 325.7)

  3. Step 200

    200

    #E6D2E6

    oklch(88.6% 0.035 325.9)

  4. Step 300

    300

    #D6B3D7

    oklch(80.9% 0.063 325.3)

  5. Step 400

    400

    #C18AC3

    oklch(70.6% 0.102 325.4)

  6. Step 500

    500

    #B16CB4

    oklch(63.2% 0.13 325.5)

  7. Step 600

    600

    #9C52A0

    oklch(55.6% 0.142 325.4)

  8. Step 700

    700

    #854289

    oklch(49.1% 0.132 325.2)

  9. Step 800

    800

    #6C376F

    oklch(42.7% 0.109 325.3)

  10. Step 900

    900 (this color)

    #4C254E

    oklch(33.5% 0.085 325.4)

  11. Step 950

    950

    #341D35

    oklch(27.2% 0.054 325.5)

Export this scale for Tailwind in the Tailwind colors tool

#4C254E 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)#21314F0.081
Deuteranopia (no green cones)#2C364D0.073
Tritanopia (no blue cones)#4E2A360.049
Achromatopsia (no color)#3434340.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C254E

    #4C254E

    oklch(33.5% 0.085 325.4)

  • #134219

    #134219

    oklch(33.6% 0.085 145.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C254E

    #4C254E

    oklch(33.5% 0.085 325.4)

  • #3B2C5D

    #3B2C5D

    oklch(33.6% 0.084 295.6)

  • #572138

    #572138

    oklch(33.5% 0.084 356)

Open the analogous palette in the generator

Split complementary

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

  • #4C254E

    #4C254E

    oklch(33.5% 0.085 325.4)

  • #353B00

    #353B00

    oklch(33.5% 0.077 116)

  • #004135

    #004135

    oklch(33.5% 0.063 175.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C254E

    #4C254E

    oklch(33.5% 0.085 325.4)

  • #463300

    #463300

    oklch(33.4% 0.068 85.7)

  • #003F45

    #003F45

    oklch(33.6% 0.057 205.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C254E

    #4C254E

    oklch(33.5% 0.085 325.4)

  • #562900

    #562900

    oklch(33.6% 0.083 55.6)

  • #134219

    #134219

    oklch(33.6% 0.085 145.6)

  • #003C56

    #003C56

    oklch(33.6% 0.071 234.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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