#3A3255

Closest named color: Prussian Blue (#1D3557). oklch(34.2% 0.061 293.4), rgb(58, 50, 85).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamuted (0.061)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.76:1
White text11.88:1

Values

HEX#3A3255
RGBrgb(58, 50, 85)
HSLhsl(254, 26%, 26%)
OKLCHoklch(34.2% 0.061 293.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 #3A3255 11.88:1 AAA Lc -100.8 Preferred for body text
Black text on #3A3255 1.76:1 Fails Lc 0.0 Not readable
#3A3255 text on white 11.88:1 AAA Lc 97.2 Preferred for body text
#3A3255 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #D9D6E9

    oklch(88.4% 0.026 293.1)

  4. Step 300

    300

    #C1BCDC

    oklch(81% 0.045 292.5)

  5. Step 400

    400

    #A298CA

    oklch(70.6% 0.073 293.6)

  6. Step 500

    500

    #8C7EBD

    oklch(63% 0.094 293.7)

  7. Step 600

    600

    #7667A9

    oklch(55.6% 0.101 293.3)

  8. Step 700

    700

    #635591

    oklch(49% 0.095 293.3)

  9. Step 800

    800

    #514676

    oklch(42.7% 0.079 293.3)

  10. Step 900

    900 (this color)

    #3A3255

    oklch(34.2% 0.061 293.4)

  11. Step 950

    950

    #272338

    oklch(27.1% 0.039 292.3)

Export this scale for Tailwind in the Tailwind colors tool

#3A3255 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)#2838560.032
Deuteranopia (no green cones)#2937540.030
Tritanopia (no blue cones)#34383F0.050
Achromatopsia (no color)#3737370.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3255

    #3A3255

    oklch(34.2% 0.061 293.4)

  • #383C13

    #383C13

    oklch(34.2% 0.061 114.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3255

    #3A3255

    oklch(34.2% 0.061 293.4)

  • #283858

    #283858

    oklch(34.3% 0.06 263.3)

  • #482D4B

    #482D4B

    oklch(34.2% 0.062 323.3)

Open the analogous palette in the generator

Split complementary

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

  • #3A3255

    #3A3255

    oklch(34.2% 0.061 293.4)

  • #48350D

    #48350D

    oklch(34.2% 0.061 82.3)

  • #244123

    #244123

    oklch(34.3% 0.062 143.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3255

    #3A3255

    oklch(34.2% 0.061 293.4)

  • #512F18

    #512F18

    oklch(34.2% 0.061 53.3)

  • #094336

    #094336

    oklch(34.4% 0.061 173.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3255

    #3A3255

    oklch(34.2% 0.061 293.4)

  • #542B29

    #542B29

    oklch(34.3% 0.061 23.7)

  • #383C13

    #383C13

    oklch(34.2% 0.061 114.3)

  • #004146

    #004146

    oklch(34.2% 0.058 203.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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