#3E2558

Closest named color: Space Cadet (#2B2D42). oklch(32.2% 0.09 304.5), rgb(62, 37, 88).

Aa

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

About this color

#3E2558 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.090 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.061 away. White text reads best on it, at 13.04:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.61:1
White text13.04:1

Values

HEX#3E2558
RGBrgb(62, 37, 88)
HSLhsl(269, 41%, 25%)
OKLCHoklch(32.2% 0.09 304.5)

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 #3E2558 13.04:1 AAA Lc -102.4 Preferred for body text
Black text on #3E2558 1.61:1 Fails Lc 0.0 Not readable
#3E2558 text on white 13.04:1 AAA Lc 99.1 Preferred for body text
#3E2558 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 950.

  1. Step 50

    50

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E2D0FA

    oklch(88.5% 0.06 304.6)

  4. Step 300

    300

    #D0AFF9

    oklch(80.9% 0.108 304.5)

  5. Step 400

    400

    #B981F6

    oklch(70.7% 0.172 304.5)

  6. Step 500

    500

    #A85BF1

    oklch(63% 0.218 304.5)

  7. Step 600

    600

    #9439E0

    oklch(55.6% 0.237 304.3)

  8. Step 700

    700

    #7E28C2

    oklch(49% 0.221 304.4)

  9. Step 800

    800

    #67249D

    oklch(42.7% 0.184 304.8)

  10. Step 900

    900

    #53257D

    oklch(37.6% 0.143 304.3)

  11. Step 950

    950 (this color)

    #3E2558

    oklch(32.2% 0.09 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#3E2558 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)#14305A0.069
Deuteranopia (no green cones)#1C31570.062
Tritanopia (no blue cones)#3A2E3A0.066
Achromatopsia (no color)#3131310.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E2558

    #3E2558

    oklch(32.2% 0.09 304.5)

  • #2B3A00

    #2B3A00

    oklch(32.3% 0.08 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E2558

    #3E2558

    oklch(32.2% 0.09 304.5)

  • #262D61

    #262D61

    oklch(32.1% 0.092 274.3)

  • #4E1E46

    #4E1E46

    oklch(32.2% 0.091 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #3E2558

    #3E2558

    oklch(32.2% 0.09 304.5)

  • #3E3200

    #3E3200

    oklch(32.1% 0.066 94.3)

  • #003F20

    #003F20

    oklch(32.3% 0.08 154.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E2558

    #3E2558

    oklch(32.2% 0.09 304.5)

  • #4C2A00

    #4C2A00

    oklch(32.2% 0.072 64.8)

  • #003D37

    #003D37

    oklch(32.3% 0.057 184.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E2558

    #3E2558

    oklch(32.2% 0.09 304.5)

  • #581E10

    #581E10

    oklch(32.2% 0.089 34.8)

  • #2B3A00

    #2B3A00

    oklch(32.3% 0.08 124.2)

  • #003A45

    #003A45

    oklch(32.1% 0.057 215.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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