#3A2E78

Closest named color: Dark Slate Blue (#483D8B). oklch(35.9% 0.121 286), rgb(58, 46, 120).

Aa

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

About this color

#3A2E78 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.121 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.056 away. White text reads best on it, at 11.40:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.121)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text1.84:1
White text11.40:1

Values

HEX#3A2E78
RGBrgb(58, 46, 120)
HSLhsl(250, 45%, 33%)
OKLCHoklch(35.9% 0.121 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 #3A2E78 11.40:1 AAA Lc -99.7 Preferred for body text
Black text on #3A2E78 1.84:1 Fails Lc 7.9 Not readable
#3A2E78 text on white 11.40:1 AAA Lc 96.0 Preferred for body text
#3A2E78 text on black 1.84:1 Fails Lc 0.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 900.

  1. Step 50

    50

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D5D5FA

    oklch(88.5% 0.051 285.3)

  4. Step 300

    300

    #BBB8F9

    oklch(80.8% 0.091 286.3)

  5. Step 400

    400

    #9A91F6

    oklch(70.7% 0.145 286.1)

  6. Step 500

    500

    #8372F3

    oklch(63.1% 0.186 285.8)

  7. Step 600

    600

    #6F56E1

    oklch(55.6% 0.202 286.1)

  8. Step 700

    700

    #5D45C4

    oklch(49.1% 0.188 285.8)

  9. Step 800

    800

    #4C3A9E

    oklch(42.7% 0.155 286.1)

  10. Step 900

    900 (this color)

    #3A2E78

    oklch(35.9% 0.121 286)

  11. Step 950

    950

    #241F4A

    oklch(27.1% 0.077 285.3)

Export this scale for Tailwind in the Tailwind colors tool

#3A2E78 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)#003C7A0.064
Deuteranopia (no green cones)#0038760.063
Tritanopia (no blue cones)#243F4E0.101
Achromatopsia (no color)#3A3A3A0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A2E78

    #3A2E78

    oklch(35.9% 0.121 286)

  • #423F00

    #423F00

    oklch(35.9% 0.077 106.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A2E78

    #3A2E78

    oklch(35.9% 0.121 286)

  • #013B7A

    #013B7A

    oklch(36% 0.12 255.7)

  • #552367

    #552367

    oklch(36% 0.122 316)

Open the analogous palette in the generator

Split complementary

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

  • #3A2E78

    #3A2E78

    oklch(35.9% 0.121 286)

  • #533600

    #533600

    oklch(35.8% 0.075 75.7)

  • #1F4800

    #1F4800

    oklch(35.8% 0.106 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A2E78

    #3A2E78

    oklch(35.9% 0.121 286)

  • #652700

    #652700

    oklch(35.8% 0.1 46.1)

  • #004934

    #004934

    oklch(36% 0.074 166.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A2E78

    #3A2E78

    oklch(35.9% 0.121 286)

  • #6E1626

    #6E1626

    oklch(35.8% 0.121 16)

  • #423F00

    #423F00

    oklch(35.9% 0.077 106.7)

  • #004647

    #004647

    oklch(35.7% 0.061 196.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A2E78 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.