#3A2E66

Closest named color: Prussian Blue (#1D3557). oklch(34.5% 0.095 290.4), rgb(58, 46, 102).

Aa

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

About this color

#3A2E66 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.095 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.056 away. White text reads best on it, at 11.91:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.76:1
White text11.91:1

Values

HEX#3A2E66
RGBrgb(58, 46, 102)
HSLhsl(253, 38%, 29%)
OKLCHoklch(34.5% 0.095 290.4)

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 #3A2E66 11.91:1 AAA Lc -100.7 Preferred for body text
Black text on #3A2E66 1.76:1 Fails Lc 0.0 Not readable
#3A2E66 text on white 11.91:1 AAA Lc 97.1 Preferred for body text
#3A2E66 text on black 1.76: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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F2

    oklch(88.4% 0.04 290.3)

  4. Step 300

    300

    #C0B9EC

    oklch(80.9% 0.072 291)

  5. Step 400

    400

    #A094E2

    oklch(70.7% 0.113 290.3)

  6. Step 500

    500

    #8A77DA

    oklch(63.1% 0.146 290.4)

  7. Step 600

    600

    #755EC7

    oklch(55.6% 0.157 290.4)

  8. Step 700

    700

    #624DAC

    oklch(49.1% 0.146 290.2)

  9. Step 800

    800

    #503F8C

    oklch(42.6% 0.123 290.4)

  10. Step 900

    900 (this color)

    #3A2E66

    oklch(34.5% 0.095 290.4)

  11. Step 950

    950

    #272041

    oklch(26.9% 0.06 291.6)

Export this scale for Tailwind in the Tailwind colors tool

#3A2E66 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)#1638680.053
Deuteranopia (no green cones)#1736650.051
Tritanopia (no blue cones)#2E3A450.079
Achromatopsia (no color)#3737370.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A2E66

    #3A2E66

    oklch(34.5% 0.095 290.4)

  • #3C3C00

    #3C3C00

    oklch(34.5% 0.075 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A2E66

    #3A2E66

    oklch(34.5% 0.095 290.4)

  • #1A376A

    #1A376A

    oklch(34.5% 0.096 260.8)

  • #4E2657

    #4E2657

    oklch(34.5% 0.094 320)

Open the analogous palette in the generator

Split complementary

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

  • #3A2E66

    #3A2E66

    oklch(34.5% 0.095 290.4)

  • #4C3400

    #4C3400

    oklch(34.4% 0.071 80.2)

  • #194410

    #194410

    oklch(34.4% 0.093 140.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A2E66

    #3A2E66

    oklch(34.5% 0.095 290.4)

  • #5D2800

    #5D2800

    oklch(34.6% 0.091 50.5)

  • #004434

    #004434

    oklch(34.4% 0.068 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A2E66

    #3A2E66

    oklch(34.5% 0.095 290.4)

  • #612024

    #612024

    oklch(34.5% 0.094 20)

  • #3C3C00

    #3C3C00

    oklch(34.5% 0.075 109.8)

  • #004245

    #004245

    oklch(34.5% 0.059 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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