#4A3A87

Closest named color: Dark Slate Blue (#483D8B). oklch(40.8% 0.124 289.3), rgb(74, 58, 135).

Aa

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

About this color

#4A3A87 is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.124 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.010 away. White text reads best on it, at 9.34:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.24:1
White text9.34:1

Values

HEX#4A3A87
RGBrgb(74, 58, 135)
HSLhsl(252, 40%, 38%)
OKLCHoklch(40.8% 0.124 289.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 #4A3A87 9.34:1 AAA Lc -95.7 Preferred for body text
Black text on #4A3A87 2.24:1 Fails Lc 12.6 Not readable
#4A3A87 text on white 9.34:1 AAA Lc 91.3 Preferred for body text
#4A3A87 text on black 2.24:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #BFB9ED

    oklch(80.8% 0.073 289.9)

  5. Step 400

    400

    #9F94E4

    oklch(70.7% 0.116 289.4)

  6. Step 500

    500

    #8977DC

    oklch(63.1% 0.148 289.6)

  7. Step 600

    600

    #735EC9

    oklch(55.6% 0.16 289.2)

  8. Step 700

    700

    #614DAE

    oklch(49.1% 0.149 289.2)

  9. Step 800

    800 (this color)

    #4A3A87

    oklch(40.8% 0.124 289.3)

  10. Step 900

    900

    #413771

    oklch(37.8% 0.096 288.9)

  11. Step 950

    950

    #262042

    oklch(26.9% 0.062 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#4A3A87 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)#10488A0.071
Deuteranopia (no green cones)#1345850.069
Tritanopia (no blue cones)#384B5A0.103
Achromatopsia (no color)#4747470.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A3A87

    #4A3A87

    oklch(40.8% 0.124 289.3)

  • #4E4D00

    #4E4D00

    oklch(40.8% 0.088 108.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A3A87

    #4A3A87

    oklch(40.8% 0.124 289.3)

  • #1B478B

    #1B478B

    oklch(40.8% 0.123 259.1)

  • #652F73

    #652F73

    oklch(40.7% 0.123 319)

Open the analogous palette in the generator

Split complementary

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

  • #4A3A87

    #4A3A87

    oklch(40.8% 0.124 289.3)

  • #624300

    #624300

    oklch(40.7% 0.085 78.8)

  • #1E5808

    #1E5808

    oklch(40.6% 0.123 139.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A3A87

    #4A3A87

    oklch(40.8% 0.124 289.3)

  • #763300

    #763300

    oklch(40.6% 0.109 49.2)

  • #005842

    #005842

    oklch(40.9% 0.082 168.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A3A87

    #4A3A87

    oklch(40.8% 0.124 289.3)

  • #7F252D

    #7F252D

    oklch(40.7% 0.123 19.6)

  • #4E4D00

    #4E4D00

    oklch(40.8% 0.088 108.9)

  • #005558

    #005558

    oklch(40.8% 0.069 198.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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