#4C348F

Closest named color: Dark Slate Blue (#483D8B). oklch(40.5% 0.143 290.7), rgb(76, 52, 143).

Aa

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

About this color

#4C348F is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.143 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.023 away. White text reads best on it, at 9.56:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.143)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.19:1
White text9.56:1

Values

HEX#4C348F
RGBrgb(76, 52, 143)
HSLhsl(256, 47%, 38%)
OKLCHoklch(40.5% 0.143 290.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 #4C348F 9.56:1 AAA Lc -96.0 Preferred for body text
Black text on #4C348F 2.19:1 Fails Lc 12.2 Not readable
#4C348F text on white 9.56:1 AAA Lc 91.7 Preferred for body text
#4C348F text on black 2.19:1 Fails Lc -10.6 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 800.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7F9

    oklch(93.5% 0.024 291)

  3. Step 200

    200

    #D8D4F6

    oklch(88.4% 0.047 290.8)

  4. Step 300

    300

    #C0B8F3

    oklch(81% 0.083 290.6)

  5. Step 400

    400

    #A190ED

    oklch(70.6% 0.134 291)

  6. Step 500

    500

    #8C72E8

    oklch(63.2% 0.172 290.8)

  7. Step 600

    600

    #7757D6

    oklch(55.6% 0.186 290.7)

  8. Step 700

    700

    #6446B9

    oklch(49% 0.173 290.6)

  9. Step 800

    800 (this color)

    #4C348F

    oklch(40.5% 0.143 290.7)

  10. Step 900

    900

    #433377

    oklch(37.6% 0.112 290.9)

  11. Step 950

    950

    #271F46

    oklch(27.1% 0.07 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#4C348F 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)#0047920.085
Deuteranopia (no green cones)#00438D0.084
Tritanopia (no blue cones)#38495C0.116
Achromatopsia (no color)#4545450.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C348F

    #4C348F

    oklch(40.5% 0.143 290.7)

  • #4C4D00

    #4C4D00

    oklch(40.6% 0.089 110.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C348F

    #4C348F

    oklch(40.5% 0.143 290.7)

  • #144395

    #144395

    oklch(40.4% 0.144 260.8)

  • #6A2677

    #6A2677

    oklch(40.5% 0.144 320.9)

Open the analogous palette in the generator

Split complementary

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

  • #4C348F

    #4C348F

    oklch(40.5% 0.143 290.7)

  • #604300

    #604300

    oklch(40.5% 0.084 80.6)

  • #125900

    #125900

    oklch(40.5% 0.132 140.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C348F

    #4C348F

    oklch(40.5% 0.143 290.7)

  • #743400

    #743400

    oklch(40.5% 0.106 50.8)

  • #005743

    #005743

    oklch(40.6% 0.08 170.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C348F

    #4C348F

    oklch(40.5% 0.143 290.7)

  • #861825

    #861825

    oklch(40.6% 0.144 20.9)

  • #4C4D00

    #4C4D00

    oklch(40.6% 0.089 110.6)

  • #005458

    #005458

    oklch(40.5% 0.069 200.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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