#4A3387

Closest named color: Dark Slate Blue (#483D8B). oklch(39.5% 0.134 291.7), rgb(74, 51, 135).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.11:1
White text9.93:1

Values

HEX#4A3387
RGBrgb(74, 51, 135)
HSLhsl(256, 45%, 36%)
OKLCHoklch(39.5% 0.134 291.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 #4A3387 9.93:1 AAA Lc -96.9 Preferred for body text
Black text on #4A3387 2.11:1 Fails Lc 11.3 Not readable
#4A3387 text on white 9.93:1 AAA Lc 92.7 Preferred for body text
#4A3387 text on black 2.11:1 Fails Lc -9.8 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FC

    oklch(93.7% 0.028 292.4)

  3. Step 200

    200

    #D9D3FC

    oklch(88.5% 0.056 291.9)

  4. Step 300

    300

    #C1B5FD

    oklch(80.9% 0.101 291.6)

  5. Step 400

    400

    #A38BFC

    oklch(70.7% 0.162 291.5)

  6. Step 500

    500

    #8F69F9

    oklch(63.1% 0.206 291.6)

  7. Step 600

    600

    #7B4BE8

    oklch(55.6% 0.223 291.5)

  8. Step 700

    700

    #683ACA

    oklch(49.1% 0.208 291.4)

  9. Step 800

    800

    #5532A3

    oklch(42.8% 0.172 291.7)

  10. Step 900

    900 (this color)

    #4A3387

    oklch(39.5% 0.134 291.7)

  11. Step 950

    950

    #281C4C

    oklch(27% 0.085 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#4A3387 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)#00448A0.083
Deuteranopia (no green cones)#0041850.083
Tritanopia (no blue cones)#3846580.108
Achromatopsia (no color)#4343430.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A3387

    #4A3387

    oklch(39.5% 0.134 291.7)

  • #484A00

    #484A00

    oklch(39.4% 0.087 111.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A3387

    #4A3387

    oklch(39.5% 0.134 291.7)

  • #19418D

    #19418D

    oklch(39.5% 0.134 261.6)

  • #662770

    #662770

    oklch(39.6% 0.133 322)

Open the analogous palette in the generator

Split complementary

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

  • #4A3387

    #4A3387

    oklch(39.5% 0.134 291.7)

  • #5C4100

    #5C4100

    oklch(39.5% 0.081 81.8)

  • #085600

    #085600

    oklch(39.4% 0.132 141.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A3387

    #4A3387

    oklch(39.5% 0.134 291.7)

  • #703300

    #703300

    oklch(39.6% 0.102 51.7)

  • #005341

    #005341

    oklch(39.4% 0.077 171.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A3387

    #4A3387

    oklch(39.5% 0.134 291.7)

  • #7F1B24

    #7F1B24

    oklch(39.5% 0.134 21.4)

  • #484A00

    #484A00

    oklch(39.4% 0.087 111.5)

  • #005156

    #005156

    oklch(39.6% 0.067 202)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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