#413A78

Closest named color: Dark Slate Blue (#483D8B). oklch(38.9% 0.102 285.8), rgb(65, 58, 120).

Aa

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

About this color

#413A78 is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.102 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.034 away. White text reads best on it, at 9.99:1.

Hue familyPurples
Lightnessdark (39%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.10:1
White text9.99:1

Values

HEX#413A78
RGBrgb(65, 58, 120)
HSLhsl(247, 35%, 35%)
OKLCHoklch(38.9% 0.102 285.8)

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 #413A78 9.99:1 AAA Lc -97.2 Preferred for body text
Black text on #413A78 2.10:1 Fails Lc 10.9 Not readable
#413A78 text on white 9.99:1 AAA Lc 93.0 Preferred for body text
#413A78 text on black 2.10:1 Fails Lc -9.4 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D6D6F5

    oklch(88.6% 0.042 285.5)

  4. Step 300

    300

    #BBBAF1

    oklch(80.9% 0.077 285.4)

  5. Step 400

    400

    #9A95E9

    oklch(70.8% 0.121 285.6)

  6. Step 500

    500

    #8378E3

    oklch(63.2% 0.157 285.7)

  7. Step 600

    600

    #6E5ED0

    oklch(55.6% 0.169 285.9)

  8. Step 700

    700

    #5C4DB5

    oklch(49.2% 0.158 285.6)

  9. Step 800

    800

    #4B4092

    oklch(42.8% 0.13 285.6)

  10. Step 900

    900 (this color)

    #413A78

    oklch(38.9% 0.102 285.8)

  11. Step 950

    950

    #242144

    oklch(27.1% 0.064 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#413A78 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)#20447A0.048
Deuteranopia (no green cones)#1E41770.048
Tritanopia (no blue cones)#3047530.086
Achromatopsia (no color)#4242420.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #413A78

    #413A78

    oklch(38.9% 0.102 285.8)

  • #4B4700

    #4B4700

    oklch(38.9% 0.083 106)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #413A78

    #413A78

    oklch(38.9% 0.102 285.8)

  • #1A447A

    #1A447A

    oklch(38.8% 0.103 256.2)

  • #593169

    #593169

    oklch(38.9% 0.102 315.5)

Open the analogous palette in the generator

Split complementary

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

  • #413A78

    #413A78

    oklch(38.9% 0.102 285.8)

  • #5D3D00

    #5D3D00

    oklch(38.7% 0.081 75.6)

  • #295010

    #295010

    oklch(38.8% 0.102 135.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #413A78

    #413A78

    oklch(38.9% 0.102 285.8)

  • #6F2F09

    #6F2F09

    oklch(38.9% 0.102 45.9)

  • #00523A

    #00523A

    oklch(38.9% 0.081 165.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #413A78

    #413A78

    oklch(38.9% 0.102 285.8)

  • #712932

    #712932

    oklch(38.9% 0.102 15.7)

  • #4B4700

    #4B4700

    oklch(38.9% 0.083 106)

  • #004F50

    #004F50

    oklch(38.8% 0.066 196.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #413A78 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.