#4A3F8E

Closest named color: Dark Slate Blue (#483D8B). oklch(42.2% 0.126 286), rgb(74, 63, 142).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.39:1
White text8.77:1

Values

HEX#4A3F8E
RGBrgb(74, 63, 142)
HSLhsl(248, 39%, 40%)
OKLCHoklch(42.2% 0.126 286)

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 #4A3F8E 8.77:1 AAA Lc -94.3 Preferred for body text
Black text on #4A3F8E 2.39:1 Fails Lc 14.2 Not readable
#4A3F8E text on white 8.77:1 AAA Lc 89.8 Fine for body text
#4A3F8E text on black 2.39:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D6D6F4

    oklch(88.5% 0.041 285.5)

  4. Step 300

    300

    #BCBAEF

    oklch(80.9% 0.074 286.3)

  5. Step 400

    400

    #9B95E7

    oklch(70.8% 0.118 286.3)

  6. Step 500

    500

    #8379DF

    oklch(63.1% 0.15 285.7)

  7. Step 600

    600

    #6E5FCD

    oklch(55.6% 0.164 286)

  8. Step 700

    700

    #5C4EB1

    oklch(49.1% 0.152 285.8)

  9. Step 800

    800 (this color)

    #4A3F8E

    oklch(42.2% 0.126 286)

  10. Step 900

    900

    #3E3773

    oklch(37.6% 0.1 285.9)

  11. Step 950

    950

    #242143

    oklch(27% 0.062 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#4A3F8E 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)#154D910.065
Deuteranopia (no green cones)#12488C0.065
Tritanopia (no blue cones)#3450600.105
Achromatopsia (no color)#4B4B4B0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A3F8E

    #4A3F8E

    oklch(42.2% 0.126 286)

  • #545000

    #545000

    oklch(42.2% 0.09 106.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A3F8E

    #4A3F8E

    oklch(42.2% 0.126 286)

  • #144C90

    #144C90

    oklch(42.1% 0.126 256)

  • #68337B

    #68337B

    oklch(42.2% 0.127 316.3)

Open the analogous palette in the generator

Split complementary

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

  • #4A3F8E

    #4A3F8E

    oklch(42.2% 0.126 286)

  • #694600

    #694600

    oklch(42.3% 0.089 76.3)

  • #295C00

    #295C00

    oklch(42.2% 0.126 136.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A3F8E

    #4A3F8E

    oklch(42.2% 0.126 286)

  • #7F3300

    #7F3300

    oklch(42.1% 0.118 46.1)

  • #005C42

    #005C42

    oklch(42.1% 0.087 165.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A3F8E

    #4A3F8E

    oklch(42.2% 0.126 286)

  • #842835

    #842835

    oklch(42.1% 0.125 16.2)

  • #545000

    #545000

    oklch(42.2% 0.09 106.4)

  • #00595A

    #00595A

    oklch(42.1% 0.072 196.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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