#3D315C

Closest named color: Prussian Blue (#1D3557). oklch(34.7% 0.074 295.1), rgb(61, 49, 92).

Aa

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

About this color

#3D315C is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.074 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.050 away. White text reads best on it, at 11.71:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.79:1
White text11.71:1

Values

HEX#3D315C
RGBrgb(61, 49, 92)
HSLhsl(257, 30%, 28%)
OKLCHoklch(34.7% 0.074 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 #3D315C 11.71:1 AAA Lc -100.5 Preferred for body text
Black text on #3D315C 1.79:1 Fails Lc 0.0 Not readable
#3D315C text on white 11.71:1 AAA Lc 96.8 Preferred for body text
#3D315C text on black 1.79: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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #DAD6EC

    oklch(88.6% 0.03 294.1)

  4. Step 300

    300

    #C3BAE1

    oklch(80.9% 0.055 295.7)

  5. Step 400

    400

    #A496D3

    oklch(70.8% 0.089 294.6)

  6. Step 500

    500

    #8F7BC7

    oklch(63.2% 0.113 295.1)

  7. Step 600

    600

    #7962B3

    oklch(55.5% 0.124 295.1)

  8. Step 700

    700

    #66519A

    oklch(49% 0.115 295.1)

  9. Step 800

    800

    #53437D

    oklch(42.7% 0.095 294.8)

  10. Step 900

    900 (this color)

    #3D315C

    oklch(34.7% 0.074 295.1)

  11. Step 950

    950

    #28213B

    oklch(26.9% 0.048 295.4)

Export this scale for Tailwind in the Tailwind colors tool

#3D315C 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)#24385E0.041
Deuteranopia (no green cones)#26375B0.039
Tritanopia (no blue cones)#3639420.060
Achromatopsia (no color)#3838380.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D315C

    #3D315C

    oklch(34.7% 0.074 295.1)

  • #393E06

    #393E06

    oklch(34.8% 0.074 114.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D315C

    #3D315C

    oklch(34.7% 0.074 295.1)

  • #273860

    #273860

    oklch(34.7% 0.074 265.4)

  • #4D2B4F

    #4D2B4F

    oklch(34.7% 0.075 325)

Open the analogous palette in the generator

Split complementary

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

  • #3D315C

    #3D315C

    oklch(34.7% 0.074 295.1)

  • #4B3600

    #4B3600

    oklch(34.7% 0.071 84.3)

  • #1E4420

    #1E4420

    oklch(34.8% 0.075 144.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D315C

    #3D315C

    oklch(34.7% 0.074 295.1)

  • #572E0D

    #572E0D

    oklch(34.8% 0.075 55.2)

  • #004538

    #004538

    oklch(34.9% 0.066 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D315C

    #3D315C

    oklch(34.7% 0.074 295.1)

  • #5A2926

    #5A2926

    oklch(34.8% 0.073 25.1)

  • #393E06

    #393E06

    oklch(34.8% 0.074 114.9)

  • #004249

    #004249

    oklch(34.6% 0.059 206.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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