#4C1561

Closest named color: Royal Purple (#4B006E). oklch(32.5% 0.131 314.7), rgb(76, 21, 97).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.58:1
White text13.23:1

Values

HEX#4C1561
RGBrgb(76, 21, 97)
HSLhsl(283, 64%, 23%)
OKLCHoklch(32.5% 0.131 314.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 #4C1561 13.23:1 AAA Lc -102.2 Preferred for body text
Black text on #4C1561 1.58:1 Fails Lc 0.0 Not readable
#4C1561 text on white 13.23:1 AAA Lc 98.8 Preferred for body text
#4C1561 text on black 1.58: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

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D9AEED

    oklch(81% 0.098 314.9)

  5. Step 400

    400

    #C57FE4

    oklch(70.7% 0.159 314.8)

  6. Step 500

    500

    #B55ADB

    oklch(63% 0.201 314.7)

  7. Step 600

    600

    #A139C9

    oklch(55.6% 0.22 314.8)

  8. Step 700

    700

    #8A2AAE

    oklch(49.2% 0.204 314.8)

  9. Step 800

    800

    #70258D

    oklch(42.8% 0.169 314.7)

  10. Step 900

    900 (this color)

    #4C1561

    oklch(32.5% 0.131 314.7)

  11. Step 950

    950

    #351742

    oklch(27% 0.083 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#4C1561 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)#002D630.119
Deuteranopia (no green cones)#11315F0.112
Tritanopia (no blue cones)#4A263A0.086
Achromatopsia (no color)#3030300.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1561

    #4C1561

    oklch(32.5% 0.131 314.7)

  • #1D3E00

    #1D3E00

    oklch(32.6% 0.095 134.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1561

    #4C1561

    oklch(32.5% 0.131 314.7)

  • #312273

    #312273

    oklch(32.5% 0.132 284.9)

  • #5E0643

    #5E0643

    oklch(32.5% 0.132 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #4C1561

    #4C1561

    oklch(32.5% 0.131 314.7)

  • #3A3600

    #3A3600

    oklch(32.7% 0.069 105)

  • #003F2B

    #003F2B

    oklch(32.6% 0.069 164.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1561

    #4C1561

    oklch(32.5% 0.131 314.7)

  • #482E00

    #482E00

    oklch(32.5% 0.068 75.2)

  • #003D3D

    #003D3D

    oklch(32.6% 0.056 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1561

    #4C1561

    oklch(32.5% 0.131 314.7)

  • #592000

    #592000

    oklch(32.5% 0.093 44.8)

  • #1D3E00

    #1D3E00

    oklch(32.6% 0.095 134.6)

  • #003A4C

    #003A4C

    oklch(32.5% 0.062 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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