#3A2861

Closest named color: Prussian Blue (#1D3557). oklch(33% 0.097 295.1), rgb(58, 40, 97).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.65:1
White text12.68:1

Values

HEX#3A2861
RGBrgb(58, 40, 97)
HSLhsl(259, 42%, 27%)
OKLCHoklch(33% 0.097 295.1)

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 #3A2861 12.68:1 AAA Lc -101.9 Preferred for body text
Black text on #3A2861 1.65:1 Fails Lc 0.0 Not readable
#3A2861 text on white 12.68:1 AAA Lc 98.5 Preferred for body text
#3A2861 text on black 1.65: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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE7F7

    oklch(93.5% 0.022 294.6)

  3. Step 200

    200

    #DAD4F2

    oklch(88.4% 0.041 294.7)

  4. Step 300

    300

    #C3B8EB

    oklch(80.9% 0.072 294.6)

  5. Step 400

    400

    #A691E2

    oklch(70.7% 0.118 295.1)

  6. Step 500

    500

    #9174D9

    oklch(63.1% 0.149 295)

  7. Step 600

    600

    #7C5AC6

    oklch(55.5% 0.162 295.1)

  8. Step 700

    700

    #6949AB

    oklch(49% 0.151 295.3)

  9. Step 800

    800

    #553D8B

    oklch(42.7% 0.125 294.7)

  10. Step 900

    900 (this color)

    #3A2861

    oklch(33% 0.097 295.1)

  11. Step 950

    950

    #291F41

    oklch(26.9% 0.062 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#3A2861 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)#0E33630.063
Deuteranopia (no green cones)#1332600.060
Tritanopia (no blue cones)#3034400.078
Achromatopsia (no color)#3333330.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A2861

    #3A2861

    oklch(33% 0.097 295.1)

  • #343900

    #343900

    oklch(32.8% 0.075 115.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A2861

    #3A2861

    oklch(33% 0.097 295.1)

  • #1C3167

    #1C3167

    oklch(32.9% 0.099 265.3)

  • #4D2050

    #4D2050

    oklch(32.9% 0.097 325.1)

Open the analogous palette in the generator

Split complementary

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

  • #3A2861

    #3A2861

    oklch(33% 0.097 295.1)

  • #453200

    #453200

    oklch(33% 0.068 85.3)

  • #074110

    #074110

    oklch(32.8% 0.097 145)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A2861

    #3A2861

    oklch(33% 0.097 295.1)

  • #542800

    #542800

    oklch(33.1% 0.081 55.7)

  • #003F33

    #003F33

    oklch(32.8% 0.062 174.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A2861

    #3A2861

    oklch(33% 0.097 295.1)

  • #5E1B1A

    #5E1B1A

    oklch(33% 0.098 25)

  • #343900

    #343900

    oklch(32.8% 0.075 115.1)

  • #003D43

    #003D43

    oklch(32.9% 0.056 205.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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