#3E315C

Closest named color: Prussian Blue (#1D3557). oklch(34.8% 0.074 296.3), rgb(62, 49, 92).

Aa

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

About this color

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

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

Values

HEX#3E315C
RGBrgb(62, 49, 92)
HSLhsl(258, 30%, 28%)
OKLCHoklch(34.8% 0.074 296.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 #3E315C 11.67:1 AAA Lc -100.4 Preferred for body text
Black text on #3E315C 1.79:1 Fails Lc 0.0 Not readable
#3E315C text on white 11.67:1 AAA Lc 96.7 Preferred for body text
#3E315C 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

    #DBD5EC

    oklch(88.5% 0.032 297.7)

  4. Step 300

    300

    #C3BAE1

    oklch(80.9% 0.055 295.7)

  5. Step 400

    400

    #A595D2

    oklch(70.6% 0.089 296.1)

  6. Step 500

    500

    #907AC6

    oklch(63.1% 0.114 296.3)

  7. Step 600

    600

    #7B62B3

    oklch(55.6% 0.124 296.4)

  8. Step 700

    700

    #67519A

    oklch(49.1% 0.115 295.8)

  9. Step 800

    800

    #54427D

    oklch(42.6% 0.096 296.1)

  10. Step 900

    900 (this color)

    #3E315C

    oklch(34.8% 0.074 296.3)

  11. Step 950

    950

    #29213B

    oklch(27% 0.048 297.2)

Export this scale for Tailwind in the Tailwind colors tool

#3E315C 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)#24395E0.044
Deuteranopia (no green cones)#26385B0.042
Tritanopia (no blue cones)#3839420.059
Achromatopsia (no color)#3838380.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E315C

    #3E315C

    oklch(34.8% 0.074 296.3)

  • #383F07

    #383F07

    oklch(35% 0.075 116.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E315C

    #3E315C

    oklch(34.8% 0.074 296.3)

  • #283861

    #283861

    oklch(34.8% 0.075 266.5)

  • #4E2B4F

    #4E2B4F

    oklch(34.9% 0.075 326.1)

Open the analogous palette in the generator

Split complementary

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

  • #3E315C

    #3E315C

    oklch(34.8% 0.074 296.3)

  • #4A3700

    #4A3700

    oklch(34.8% 0.071 87)

  • #1D4421

    #1D4421

    oklch(34.8% 0.074 145.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E315C

    #3E315C

    oklch(34.8% 0.074 296.3)

  • #572E0D

    #572E0D

    oklch(34.8% 0.075 55.2)

  • #004539

    #004539

    oklch(34.9% 0.065 176.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E315C

    #3E315C

    oklch(34.8% 0.074 296.3)

  • #5B2925

    #5B2925

    oklch(34.9% 0.074 26.3)

  • #383F07

    #383F07

    oklch(35% 0.075 116.9)

  • #004349

    #004349

    oklch(34.9% 0.06 204.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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