#3E255B

Closest named color: Space Cadet (#2B2D42). oklch(32.4% 0.095 302.9), rgb(62, 37, 91).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.62:1
White text12.95:1

Values

HEX#3E255B
RGBrgb(62, 37, 91)
HSLhsl(268, 42%, 25%)
OKLCHoklch(32.4% 0.095 302.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 #3E255B 12.95:1 AAA Lc -102.2 Preferred for body text
Black text on #3E255B 1.62:1 Fails Lc 0.0 Not readable
#3E255B text on white 12.95:1 AAA Lc 98.9 Preferred for body text
#3E255B text on black 1.62: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3EF

    oklch(88.4% 0.04 303.4)

  4. Step 300

    300

    #C9B6E7

    oklch(80.8% 0.071 302.5)

  5. Step 400

    400

    #AF8FDB

    oklch(70.8% 0.113 303)

  6. Step 500

    500

    #9B71D1

    oklch(63.1% 0.145 302.6)

  7. Step 600

    600

    #8657BE

    oklch(55.5% 0.158 302.6)

  8. Step 700

    700

    #7247A4

    oklch(49.2% 0.146 302.7)

  9. Step 800

    800

    #5D3B85

    oklch(42.8% 0.121 302.8)

  10. Step 900

    900 (this color)

    #3E255B

    oklch(32.4% 0.095 302.9)

  11. Step 950

    950

    #2C1E3E

    oklch(26.9% 0.06 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#3E255B 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)#10315D0.072
Deuteranopia (no green cones)#19315A0.065
Tritanopia (no blue cones)#392F3C0.069
Achromatopsia (no color)#3131310.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E255B

    #3E255B

    oklch(32.4% 0.095 302.9)

  • #2D3A00

    #2D3A00

    oklch(32.5% 0.079 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E255B

    #3E255B

    oklch(32.4% 0.095 302.9)

  • #252E63

    #252E63

    oklch(32.4% 0.094 272.9)

  • #4F1E48

    #4F1E48

    oklch(32.5% 0.094 333.4)

Open the analogous palette in the generator

Split complementary

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

  • #3E255B

    #3E255B

    oklch(32.4% 0.095 302.9)

  • #403300

    #403300

    oklch(32.6% 0.067 93.2)

  • #00401E

    #00401E

    oklch(32.6% 0.084 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E255B

    #3E255B

    oklch(32.4% 0.095 302.9)

  • #4E2A00

    #4E2A00

    oklch(32.5% 0.074 62.9)

  • #003D37

    #003D37

    oklch(32.3% 0.057 184.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E255B

    #3E255B

    oklch(32.4% 0.095 302.9)

  • #5B1C10

    #5B1C10

    oklch(32.5% 0.095 32.8)

  • #2D3A00

    #2D3A00

    oklch(32.5% 0.079 122.5)

  • #003B45

    #003B45

    oklch(32.4% 0.057 213.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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