#3A3155

Closest named color: Prussian Blue (#1D3557). oklch(34% 0.063 294.3), rgb(58, 49, 85).

Aa

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

About this color

#3A3155 is a dark, muted purple. In OKLCH its lightness is 34%, its chroma 0.063 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.044 away. White text reads best on it, at 11.99:1.

Hue familyPurples
Lightnessdark (34%)
Chromamuted (0.063)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.75:1
White text11.99:1

Values

HEX#3A3155
RGBrgb(58, 49, 85)
HSLhsl(255, 27%, 26%)
OKLCHoklch(34% 0.063 294.3)

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 #3A3155 11.99:1 AAA Lc -101.0 Preferred for body text
Black text on #3A3155 1.75:1 Fails Lc 0.0 Not readable
#3A3155 text on white 11.99:1 AAA Lc 97.4 Preferred for body text
#3A3155 text on black 1.75: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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E9

    oklch(88.5% 0.026 295.5)

  4. Step 300

    300

    #C2BBDD

    oklch(80.9% 0.048 294.7)

  5. Step 400

    400

    #A398CB

    oklch(70.7% 0.074 294.3)

  6. Step 500

    500

    #8D7EBE

    oklch(63.2% 0.096 294.3)

  7. Step 600

    600

    #7766AA

    oklch(55.5% 0.105 294.2)

  8. Step 700

    700

    #645592

    oklch(49.1% 0.096 293.9)

  9. Step 800

    800

    #524576

    oklch(42.6% 0.081 295)

  10. Step 900

    900 (this color)

    #3A3155

    oklch(34% 0.063 294.3)

  11. Step 950

    950

    #282338

    oklch(27.2% 0.039 294.6)

Export this scale for Tailwind in the Tailwind colors tool

#3A3155 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)#2737560.033
Deuteranopia (no green cones)#2836540.032
Tritanopia (no blue cones)#34373F0.050
Achromatopsia (no color)#3636360.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3155

    #3A3155

    oklch(34% 0.063 294.3)

  • #373B11

    #373B11

    oklch(33.8% 0.062 114.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3155

    #3A3155

    oklch(34% 0.063 294.3)

  • #273758

    #273758

    oklch(34% 0.062 263.7)

  • #482C4A

    #482C4A

    oklch(34% 0.063 324.5)

Open the analogous palette in the generator

Split complementary

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

  • #3A3155

    #3A3155

    oklch(34% 0.063 294.3)

  • #47350A

    #47350A

    oklch(34.1% 0.062 84.6)

  • #224022

    #224022

    oklch(33.9% 0.063 144)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3155

    #3A3155

    oklch(34% 0.063 294.3)

  • #512E16

    #512E16

    oklch(34% 0.063 53.3)

  • #044236

    #044236

    oklch(34% 0.062 175.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3155

    #3A3155

    oklch(34% 0.063 294.3)

  • #542A28

    #542A28

    oklch(34% 0.063 23.8)

  • #373B11

    #373B11

    oklch(33.8% 0.062 114.3)

  • #004046

    #004046

    oklch(33.9% 0.058 205.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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