#4E1B63

Closest named color: Royal Purple (#4B006E). oklch(33.7% 0.126 314.3), rgb(78, 27, 99).

Aa

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

About this color

#4E1B63 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.126 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.041 away. White text reads best on it, at 12.64:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.66:1
White text12.64:1

Values

HEX#4E1B63
RGBrgb(78, 27, 99)
HSLhsl(283, 57%, 25%)
OKLCHoklch(33.7% 0.126 314.3)

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 #4E1B63 12.64:1 AAA Lc -101.5 Preferred for body text
Black text on #4E1B63 1.66:1 Fails Lc 0.0 Not readable
#4E1B63 text on white 12.64:1 AAA Lc 98.0 Preferred for body text
#4E1B63 text on black 1.66: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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E6CFF2

    oklch(88.4% 0.053 314.2)

  4. Step 300

    300

    #D7AFEC

    oklch(81% 0.094 313.8)

  5. Step 400

    400

    #C381E2

    oklch(70.7% 0.153 314.3)

  6. Step 500

    500

    #B35DD9

    oklch(63.1% 0.194 314.3)

  7. Step 600

    600

    #9F3EC6

    oklch(55.7% 0.21 314.5)

  8. Step 700

    700

    #882EAB

    oklch(49.1% 0.196 314.6)

  9. Step 800

    800

    #6E288B

    oklch(42.7% 0.163 314.2)

  10. Step 900

    900 (this color)

    #4E1B63

    oklch(33.7% 0.126 314.3)

  11. Step 950

    950

    #341841

    oklch(27% 0.079 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#4E1B63 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)#0030650.117
Deuteranopia (no green cones)#1834610.104
Tritanopia (no blue cones)#4C293C0.083
Achromatopsia (no color)#3333330.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E1B63

    #4E1B63

    oklch(33.7% 0.126 314.3)

  • #204100

    #204100

    oklch(33.7% 0.097 134.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E1B63

    #4E1B63

    oklch(33.7% 0.126 314.3)

  • #332774

    #332774

    oklch(33.6% 0.126 284.4)

  • #600F46

    #600F46

    oklch(33.7% 0.127 344.6)

Open the analogous palette in the generator

Split complementary

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

  • #4E1B63

    #4E1B63

    oklch(33.7% 0.126 314.3)

  • #3D3800

    #3D3800

    oklch(33.5% 0.071 104)

  • #00422D

    #00422D

    oklch(33.6% 0.071 164.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E1B63

    #4E1B63

    oklch(33.7% 0.126 314.3)

  • #4C3100

    #4C3100

    oklch(33.7% 0.071 75.5)

  • #004040

    #004040

    oklch(33.6% 0.057 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E1B63

    #4E1B63

    oklch(33.7% 0.126 314.3)

  • #5E2200

    #5E2200

    oklch(33.8% 0.097 44.6)

  • #204100

    #204100

    oklch(33.7% 0.097 134.1)

  • #003E4F

    #003E4F

    oklch(33.8% 0.063 223.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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