#3E1E6E

Closest named color: Royal Purple (#4B006E). oklch(32.8% 0.131 296.9), rgb(62, 30, 110).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.61:1
White text12.99:1

Values

HEX#3E1E6E
RGBrgb(62, 30, 110)
HSLhsl(264, 57%, 27%)
OKLCHoklch(32.8% 0.131 296.9)

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 #3E1E6E 12.99:1 AAA Lc -102.0 Preferred for body text
Black text on #3E1E6E 1.61:1 Fails Lc 0.0 Not readable
#3E1E6E text on white 12.99:1 AAA Lc 98.7 Preferred for body text
#3E1E6E text on black 1.61: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DCD2FA

    oklch(88.4% 0.055 296.7)

  4. Step 300

    300

    #C7B4F9

    oklch(81% 0.098 296.8)

  5. Step 400

    400

    #AC89F5

    oklch(70.7% 0.156 297.2)

  6. Step 500

    500

    #9967F1

    oklch(63.2% 0.199 297)

  7. Step 600

    600

    #8448E0

    oklch(55.5% 0.218 296.7)

  8. Step 700

    700

    #7038C2

    oklch(49% 0.202 296.8)

  9. Step 800

    800

    #5B309D

    oklch(42.7% 0.167 296.7)

  10. Step 900

    900 (this color)

    #3E1E6E

    oklch(32.8% 0.131 296.9)

  11. Step 950

    950

    #2B1B49

    oklch(26.9% 0.082 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#3E1E6E 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)#0031700.084
Deuteranopia (no green cones)#00306C0.085
Tritanopia (no blue cones)#3232430.102
Achromatopsia (no color)#3131310.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E1E6E

    #3E1E6E

    oklch(32.8% 0.131 296.9)

  • #333900

    #333900

    oklch(32.8% 0.075 116.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E1E6E

    #3E1E6E

    oklch(32.8% 0.131 296.9)

  • #172C77

    #172C77

    oklch(32.9% 0.131 266.8)

  • #551157

    #551157

    oklch(32.9% 0.131 326.8)

Open the analogous palette in the generator

Split complementary

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

  • #3E1E6E

    #3E1E6E

    oklch(32.8% 0.131 296.9)

  • #443200

    #443200

    oklch(32.9% 0.067 86.5)

  • #004112

    #004112

    oklch(32.7% 0.097 146.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E1E6E

    #3E1E6E

    oklch(32.8% 0.131 296.9)

  • #522800

    #522800

    oklch(32.7% 0.079 57.1)

  • #003F34

    #003F34

    oklch(32.9% 0.061 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E1E6E

    #3E1E6E

    oklch(32.8% 0.131 296.9)

  • #680308

    #680308

    oklch(32.8% 0.13 26.8)

  • #333900

    #333900

    oklch(32.8% 0.075 116.1)

  • #003D43

    #003D43

    oklch(32.9% 0.056 205.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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