#4C2D6A

Closest named color: Dark Slate Blue (#483D8B). oklch(36.6% 0.105 305.3), rgb(76, 45, 106).

Aa

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

About this color

#4C2D6A is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.105 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.065 away. White text reads best on it, at 11.10:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.89:1
White text11.10:1

Values

HEX#4C2D6A
RGBrgb(76, 45, 106)
HSLhsl(270, 40%, 30%)
OKLCHoklch(36.6% 0.105 305.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 #4C2D6A 11.10:1 AAA Lc -99.2 Preferred for body text
Black text on #4C2D6A 1.89:1 Fails Lc 8.5 Not readable
#4C2D6A text on white 11.10:1 AAA Lc 95.4 Preferred for body text
#4C2D6A text on black 1.89: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F6

    oklch(93.5% 0.023 305.6)

  3. Step 200

    200

    #E0D2F1

    oklch(88.5% 0.045 305.9)

  4. Step 300

    300

    #CCB4EA

    oklch(80.8% 0.079 304.9)

  5. Step 400

    400

    #B38BDF

    oklch(70.6% 0.126 305.3)

  6. Step 500

    500

    #A16CD6

    oklch(63.1% 0.161 305.4)

  7. Step 600

    600

    #8C51C3

    oklch(55.6% 0.175 305.3)

  8. Step 700

    700

    #7741A9

    oklch(49.1% 0.163 305.1)

  9. Step 800

    800

    #613689

    oklch(42.7% 0.136 305.3)

  10. Step 900

    900 (this color)

    #4C2D6A

    oklch(36.6% 0.105 305.3)

  11. Step 950

    950

    #2E1D40

    oklch(27% 0.066 304.8)

Export this scale for Tailwind in the Tailwind colors tool

#4C2D6A 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)#183B6C0.082
Deuteranopia (no green cones)#223C690.075
Tritanopia (no blue cones)#4738470.076
Achromatopsia (no color)#3C3C3C0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C2D6A

    #4C2D6A

    oklch(36.6% 0.105 305.3)

  • #334600

    #334600

    oklch(36.4% 0.092 125.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C2D6A

    #4C2D6A

    oklch(36.6% 0.105 305.3)

  • #303775

    #303775

    oklch(36.6% 0.105 275.1)

  • #5F2554

    #5F2554

    oklch(36.7% 0.105 335.5)

Open the analogous palette in the generator

Split complementary

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

  • #4C2D6A

    #4C2D6A

    oklch(36.6% 0.105 305.3)

  • #4B3E00

    #4B3E00

    oklch(36.7% 0.075 95.6)

  • #004C29

    #004C29

    oklch(36.6% 0.09 155.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C2D6A

    #4C2D6A

    oklch(36.6% 0.105 305.3)

  • #5B3400

    #5B3400

    oklch(36.5% 0.082 65.6)

  • #004943

    #004943

    oklch(36.5% 0.064 185.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C2D6A

    #4C2D6A

    oklch(36.6% 0.105 305.3)

  • #6B2413

    #6B2413

    oklch(36.6% 0.105 34.7)

  • #334600

    #334600

    oklch(36.4% 0.092 125.2)

  • #004754

    #004754

    oklch(36.6% 0.065 215.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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