#3E276C

Closest named color: Royal Purple (#4B006E). oklch(34.1% 0.115 294.9), rgb(62, 39, 108).

Aa

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

About this color

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

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

Values

HEX#3E276C
RGBrgb(62, 39, 108)
HSLhsl(260, 47%, 29%)
OKLCHoklch(34.1% 0.115 294.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 #3E276C 12.26:1 AAA Lc -101.1 Preferred for body text
Black text on #3E276C 1.71:1 Fails Lc 0.0 Not readable
#3E276C text on white 12.26:1 AAA Lc 97.6 Preferred for body text
#3E276C text on black 1.71: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

    #DBD4F6

    oklch(88.6% 0.047 294.9)

  4. Step 300

    300

    #C4B6F3

    oklch(80.9% 0.086 294.9)

  5. Step 400

    400

    #A78EED

    oklch(70.7% 0.137 294.7)

  6. Step 500

    500

    #936EE7

    oklch(63.1% 0.176 294.9)

  7. Step 600

    600

    #7F53D5

    oklch(55.7% 0.191 295.1)

  8. Step 700

    700

    #6B42B9

    oklch(49.1% 0.178 294.8)

  9. Step 800

    800

    #573795

    oklch(42.6% 0.147 295.1)

  10. Step 900

    900 (this color)

    #3E276C

    oklch(34.1% 0.115 294.9)

  11. Step 950

    950

    #2A1D46

    oklch(27% 0.074 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#3E276C 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)#00366E0.077
Deuteranopia (no green cones)#03346B0.076
Tritanopia (no blue cones)#3236450.090
Achromatopsia (no color)#3535350.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E276C

    #3E276C

    oklch(34.1% 0.115 294.9)

  • #373C00

    #373C00

    oklch(34% 0.077 114.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E276C

    #3E276C

    oklch(34.1% 0.115 294.9)

  • #1A3373

    #1A3373

    oklch(34.2% 0.115 264.8)

  • #541D58

    #541D58

    oklch(34.1% 0.115 325)

Open the analogous palette in the generator

Split complementary

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

  • #3E276C

    #3E276C

    oklch(34.1% 0.115 294.9)

  • #493500

    #493500

    oklch(34.2% 0.07 85.2)

  • #00450D

    #00450D

    oklch(33.9% 0.107 145)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E276C

    #3E276C

    oklch(34.1% 0.115 294.9)

  • #582A00

    #582A00

    oklch(34.1% 0.084 55.4)

  • #004336

    #004336

    oklch(34.2% 0.065 174.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E276C

    #3E276C

    oklch(34.1% 0.115 294.9)

  • #671517

    #671517

    oklch(34% 0.115 24.7)

  • #373C00

    #373C00

    oklch(34% 0.077 114.9)

  • #004146

    #004146

    oklch(34.2% 0.058 203.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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