#3A305F

Closest named color: Prussian Blue (#1D3557). oklch(34.4% 0.08 291.4), rgb(58, 48, 95).

Aa

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

About this color

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

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

Values

HEX#3A305F
RGBrgb(58, 48, 95)
HSLhsl(253, 33%, 28%)
OKLCHoklch(34.4% 0.08 291.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 #3A305F 11.87:1 AAA Lc -100.7 Preferred for body text
Black text on #3A305F 1.76:1 Fails Lc 0.0 Not readable
#3A305F text on white 11.87:1 AAA Lc 97.1 Preferred for body text
#3A305F 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D6EE

    oklch(88.6% 0.033 291.5)

  4. Step 300

    300

    #C0BAE5

    oklch(80.8% 0.06 291.4)

  5. Step 400

    400

    #A196D8

    oklch(70.7% 0.096 291.4)

  6. Step 500

    500

    #8B7BCE

    oklch(63.2% 0.123 291.3)

  7. Step 600

    600

    #7562BB

    oklch(55.6% 0.135 291.2)

  8. Step 700

    700

    #6351A1

    oklch(49.2% 0.125 291.5)

  9. Step 800

    800

    #504382

    oklch(42.7% 0.102 290.9)

  10. Step 900

    900 (this color)

    #3A305F

    oklch(34.4% 0.08 291.4)

  11. Step 950

    950

    #27213D

    oklch(26.9% 0.051 292.4)

Export this scale for Tailwind in the Tailwind colors tool

#3A305F 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)#2038610.042
Deuteranopia (no green cones)#21365E0.040
Tritanopia (no blue cones)#3139430.065
Achromatopsia (no color)#3737370.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A305F

    #3A305F

    oklch(34.4% 0.08 291.4)

  • #3B3C00

    #3B3C00

    oklch(34.4% 0.075 110.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A305F

    #3A305F

    oklch(34.4% 0.08 291.4)

  • #203862

    #203862

    oklch(34.4% 0.08 260.8)

  • #4C2952

    #4C2952

    oklch(34.4% 0.082 321.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A305F

    #3A305F

    oklch(34.4% 0.08 291.4)

  • #4B3400

    #4B3400

    oklch(34.3% 0.071 81.3)

  • #1E4319

    #1E4319

    oklch(34.4% 0.081 141.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A305F

    #3A305F

    oklch(34.4% 0.08 291.4)

  • #592B0A

    #592B0A

    oklch(34.5% 0.08 51.4)

  • #004435

    #004435

    oklch(34.4% 0.067 172)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A305F

    #3A305F

    oklch(34.4% 0.08 291.4)

  • #5C2526

    #5C2526

    oklch(34.4% 0.081 21.2)

  • #3B3C00

    #3B3C00

    oklch(34.4% 0.075 110.8)

  • #004246

    #004246

    oklch(34.5% 0.059 201.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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