#3A3552

Closest named color: Onyx (#343A40). oklch(34.7% 0.05 291.5), rgb(58, 53, 82).

Aa

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

About this color

#3A3552 is a dark, muted purple. In OKLCH its lightness is 35%, its chroma 0.050 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.042 away. White text reads best on it, at 11.59:1.

Hue familyPurples
Lightnessdark (35%)
Chromamuted (0.050)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.81:1
White text11.59:1

Values

HEX#3A3552
RGBrgb(58, 53, 82)
HSLhsl(250, 21%, 26%)
OKLCHoklch(34.7% 0.05 291.5)

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 #3A3552 11.59:1 AAA Lc -100.3 Preferred for body text
Black text on #3A3552 1.81:1 Fails Lc 0.0 Not readable
#3A3552 text on white 11.59:1 AAA Lc 96.7 Preferred for body text
#3A3552 text on black 1.81: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

    #EAE9F1

    oklch(93.7% 0.011 291.9)

  3. Step 200

    200

    #D9D7E6

    oklch(88.5% 0.021 292.1)

  4. Step 300

    300

    #C0BDD8

    oklch(80.9% 0.038 290.6)

  5. Step 400

    400

    #A09AC4

    oklch(70.6% 0.061 291.3)

  6. Step 500

    500

    #8A81B5

    oklch(63.1% 0.078 292)

  7. Step 600

    600

    #746AA1

    oklch(55.6% 0.085 291.7)

  8. Step 700

    700

    #615889

    oklch(49% 0.078 291.7)

  9. Step 800

    800

    #4F4870

    oklch(42.6% 0.066 291.4)

  10. Step 900

    900 (this color)

    #3A3552

    oklch(34.7% 0.05 291.5)

  11. Step 950

    950

    #262435

    oklch(27% 0.031 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#3A3552 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)#2D39530.023
Deuteranopia (no green cones)#2E38510.021
Tritanopia (no blue cones)#353A3F0.043
Achromatopsia (no color)#3939390.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3552

    #3A3552

    oklch(34.7% 0.05 291.5)

  • #3B3C1C

    #3B3C1C

    oklch(34.7% 0.05 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3552

    #3A3552

    oklch(34.7% 0.05 291.5)

  • #2B3A54

    #2B3A54

    oklch(34.8% 0.05 261.1)

  • #46314A

    #46314A

    oklch(34.8% 0.051 321)

Open the analogous palette in the generator

Split complementary

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

  • #3A3552

    #3A3552

    oklch(34.7% 0.05 291.5)

  • #473719

    #473719

    oklch(34.7% 0.05 81.5)

  • #2B4028

    #2B4028

    oklch(34.6% 0.049 141.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3552

    #3A3552

    oklch(34.7% 0.05 291.5)

  • #4F3221

    #4F3221

    oklch(34.8% 0.05 50.8)

  • #1A4236

    #1A4236

    oklch(34.6% 0.05 171)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3552

    #3A3552

    oklch(34.7% 0.05 291.5)

  • #512F2E

    #512F2E

    oklch(34.7% 0.05 21.8)

  • #3B3C1C

    #3B3C1C

    oklch(34.7% 0.05 110.3)

  • #124245

    #124245

    oklch(34.9% 0.05 201.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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