#3E2161

Closest named color: Royal Purple (#4B006E). oklch(32.2% 0.109 301.4), rgb(62, 33, 97).

Aa

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

About this color

#3E2161 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.109 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.056 away. White text reads best on it, at 13.16:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.59:1
White text13.16:1

Values

HEX#3E2161
RGBrgb(62, 33, 97)
HSLhsl(267, 49%, 25%)
OKLCHoklch(32.2% 0.109 301.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 #3E2161 13.16:1 AAA Lc -102.4 Preferred for body text
Black text on #3E2161 1.59:1 Fails Lc 0.0 Not readable
#3E2161 text on white 13.16:1 AAA Lc 99.1 Preferred for body text
#3E2161 text on black 1.59: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 950.

  1. Step 50

    50

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FF

    oklch(93.7% 0.036 301.4)

  3. Step 200

    200

    #E0CFFF

    oklch(88.4% 0.068 301.2)

  4. Step 300

    300

    #CDAFFF

    oklch(80.9% 0.115 301.1)

  5. Step 400

    400

    #B680FF

    oklch(70.7% 0.184 301.5)

  6. Step 500

    500

    #A556FF

    oklch(63% 0.239 301.2)

  7. Step 600

    600

    #9611FB

    oklch(55.6% 0.288 301.5)

  8. Step 700

    700

    #7F00D8

    oklch(49.2% 0.261 301.3)

  9. Step 800

    800

    #6807B1

    oklch(42.7% 0.222 301.4)

  10. Step 900

    900

    #54198C

    oklch(37.7% 0.173 301.4)

  11. Step 950

    950 (this color)

    #3E2161

    oklch(32.2% 0.109 301.4)

Export this scale for Tailwind in the Tailwind colors tool

#3E2161 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)#0030630.084
Deuteranopia (no green cones)#0C30600.078
Tritanopia (no blue cones)#372F3D0.083
Achromatopsia (no color)#3030300.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E2161

    #3E2161

    oklch(32.2% 0.109 301.4)

  • #2D3900

    #2D3900

    oklch(32.2% 0.078 121.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E2161

    #3E2161

    oklch(32.2% 0.109 301.4)

  • #212C6A

    #212C6A

    oklch(32.3% 0.109 271.4)

  • #51184C

    #51184C

    oklch(32.2% 0.109 331.4)

Open the analogous palette in the generator

Split complementary

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

  • #3E2161

    #3E2161

    oklch(32.2% 0.109 301.4)

  • #403200

    #403200

    oklch(32.3% 0.066 91.6)

  • #003F1B

    #003F1B

    oklch(32.2% 0.086 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E2161

    #3E2161

    oklch(32.2% 0.109 301.4)

  • #4E2900

    #4E2900

    oklch(32.3% 0.075 61.5)

  • #003D35

    #003D35

    oklch(32.3% 0.058 180.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E2161

    #3E2161

    oklch(32.2% 0.109 301.4)

  • #5F1409

    #5F1409

    oklch(32.2% 0.109 31.5)

  • #2D3900

    #2D3900

    oklch(32.2% 0.078 121.8)

  • #003B44

    #003B44

    oklch(32.3% 0.056 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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