#4C2E6B

Closest named color: Dark Slate Blue (#483D8B). oklch(36.8% 0.104 304.5), rgb(76, 46, 107).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.91:1
White text10.99:1

Values

HEX#4C2E6B
RGBrgb(76, 46, 107)
HSLhsl(270, 40%, 30%)
OKLCHoklch(36.8% 0.104 304.5)

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 #4C2E6B 10.99:1 AAA Lc -99.0 Preferred for body text
Black text on #4C2E6B 1.91:1 Fails Lc 8.7 Not readable
#4C2E6B text on white 10.99:1 AAA Lc 95.2 Preferred for body text
#4C2E6B text on black 1.91:1 Fails Lc -7.5 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

    #DFD3F1

    oklch(88.6% 0.043 303.7)

  4. Step 300

    300

    #CCB4EA

    oklch(80.8% 0.079 304.9)

  5. Step 400

    400

    #B28CE0

    oklch(70.7% 0.126 304.2)

  6. Step 500

    500

    #A06DD6

    oklch(63.2% 0.159 304.7)

  7. Step 600

    600

    #8B52C4

    oklch(55.7% 0.174 304.4)

  8. Step 700

    700

    #7641A9

    oklch(49% 0.163 304.6)

  9. Step 800

    800

    #603789

    oklch(42.8% 0.134 304.4)

  10. Step 900

    900 (this color)

    #4C2E6B

    oklch(36.8% 0.104 304.5)

  11. Step 950

    950

    #2E1D40

    oklch(27% 0.066 304.8)

Export this scale for Tailwind in the Tailwind colors tool

#4C2E6B 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)#193B6D0.080
Deuteranopia (no green cones)#233C6A0.072
Tritanopia (no blue cones)#4739480.076
Achromatopsia (no color)#3C3C3C0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C2E6B

    #4C2E6B

    oklch(36.8% 0.104 304.5)

  • #354700

    #354700

    oklch(36.9% 0.092 124.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C2E6B

    #4C2E6B

    oklch(36.8% 0.104 304.5)

  • #303875

    #303875

    oklch(36.8% 0.104 274.5)

  • #5F2655

    #5F2655

    oklch(36.9% 0.104 334.7)

Open the analogous palette in the generator

Split complementary

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

  • #4C2E6B

    #4C2E6B

    oklch(36.8% 0.104 304.5)

  • #4C3E00

    #4C3E00

    oklch(36.8% 0.075 94.5)

  • #004D28

    #004D28

    oklch(36.9% 0.092 154.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C2E6B

    #4C2E6B

    oklch(36.8% 0.104 304.5)

  • #5D3400

    #5D3400

    oklch(36.8% 0.083 64)

  • #004A43

    #004A43

    oklch(36.8% 0.065 184.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C2E6B

    #4C2E6B

    oklch(36.8% 0.104 304.5)

  • #6C2515

    #6C2515

    oklch(36.9% 0.105 34.2)

  • #354700

    #354700

    oklch(36.9% 0.092 124.4)

  • #004854

    #004854

    oklch(36.9% 0.065 213.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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