#3E256B

Closest named color: Royal Purple (#4B006E). oklch(33.7% 0.117 296), rgb(62, 37, 107).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.68:1
White text12.48:1

Values

HEX#3E256B
RGBrgb(62, 37, 107)
HSLhsl(261, 49%, 28%)
OKLCHoklch(33.7% 0.117 296)

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 #3E256B 12.48:1 AAA Lc -101.5 Preferred for body text
Black text on #3E256B 1.68:1 Fails Lc 0.0 Not readable
#3E256B text on white 12.48:1 AAA Lc 98.0 Preferred for body text
#3E256B text on black 1.68: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

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DBD3F6

    oklch(88.4% 0.048 295.9)

  4. Step 300

    300

    #C5B5F3

    oklch(80.8% 0.088 296.2)

  5. Step 400

    400

    #A98DED

    oklch(70.7% 0.139 296.1)

  6. Step 500

    500

    #956DE7

    oklch(63.1% 0.178 296)

  7. Step 600

    600

    #8051D5

    oklch(55.5% 0.194 295.8)

  8. Step 700

    700

    #6D40B9

    oklch(49% 0.181 296.1)

  9. Step 800

    800

    #583696

    oklch(42.6% 0.15 295.7)

  10. Step 900

    900 (this color)

    #3E256B

    oklch(33.7% 0.117 296)

  11. Step 950

    950

    #2A1D46

    oklch(27% 0.074 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#3E256B 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)#00346D0.079
Deuteranopia (no green cones)#0033690.080
Tritanopia (no blue cones)#3335440.092
Achromatopsia (no color)#3434340.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E256B

    #3E256B

    oklch(33.7% 0.117 296)

  • #353B00

    #353B00

    oklch(33.5% 0.077 116)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E256B

    #3E256B

    oklch(33.7% 0.117 296)

  • #1A3172

    #1A3172

    oklch(33.7% 0.116 265.7)

  • #541B56

    #541B56

    oklch(33.7% 0.116 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #3E256B

    #3E256B

    oklch(33.7% 0.117 296)

  • #473400

    #473400

    oklch(33.7% 0.069 86)

  • #004410

    #004410

    oklch(33.6% 0.103 145.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E256B

    #3E256B

    oklch(33.7% 0.117 296)

  • #562900

    #562900

    oklch(33.6% 0.083 55.6)

  • #004136

    #004136

    oklch(33.5% 0.062 176.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E256B

    #3E256B

    oklch(33.7% 0.117 296)

  • #661313

    #661313

    oklch(33.6% 0.116 26.1)

  • #353B00

    #353B00

    oklch(33.5% 0.077 116)

  • #003F46

    #003F46

    oklch(33.6% 0.058 207.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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