#2E1642

Closest named color: Dark Purple (#35063E). oklch(25.9% 0.082 306.7), rgb(46, 22, 66).

Aa

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

About this color

#2E1642 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.082 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.035 away. White text reads best on it, at 16.03:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.30:1
White text16.03:1

Values

HEX#2E1642
RGBrgb(46, 22, 66)
HSLhsl(273, 50%, 17%)
OKLCHoklch(25.9% 0.082 306.7)

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 #2E1642 16.03:1 AAA Lc -105.4 Preferred for body text
Black text on #2E1642 1.30:1 Fails Lc 0.0 Not readable
#2E1642 text on white 16.03:1 AAA Lc 102.8 Preferred for body text
#2E1642 text on black 1.30: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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E2D0F6

    oklch(88.4% 0.055 306.7)

  4. Step 300

    300

    #D1B0F2

    oklch(80.8% 0.098 307.1)

  5. Step 400

    400

    #BA84EC

    oklch(70.7% 0.156 306.8)

  6. Step 500

    500

    #A960E5

    oklch(63.1% 0.199 306.9)

  7. Step 600

    600

    #9441D3

    oklch(55.5% 0.216 306.6)

  8. Step 700

    700

    #7F31B7

    oklch(49.1% 0.201 306.9)

  9. Step 800

    800

    #672B94

    oklch(42.7% 0.166 306.8)

  10. Step 900

    900

    #542976

    oklch(37.8% 0.129 307)

  11. Step 950

    950 (this color)

    #2E1642

    oklch(25.9% 0.082 306.7)

Export this scale for Tailwind in the Tailwind colors tool

#2E1642 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)#0521430.068
Deuteranopia (no green cones)#0E22410.062
Tritanopia (no blue cones)#2B1F290.060
Achromatopsia (no color)#2121210.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E1642

    #2E1642

    oklch(25.9% 0.082 306.7)

  • #1B2900

    #1B2900

    oklch(25.8% 0.066 126.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E1642

    #2E1642

    oklch(25.9% 0.082 306.7)

  • #1B1D4A

    #1B1D4A

    oklch(25.8% 0.082 277.1)

  • #3B1032

    #3B1032

    oklch(25.9% 0.082 336.9)

Open the analogous palette in the generator

Split complementary

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

  • #2E1642

    #2E1642

    oklch(25.9% 0.082 306.7)

  • #2B2300

    #2B2300

    oklch(25.8% 0.053 96.3)

  • #002C17

    #002C17

    oklch(25.8% 0.061 157)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E1642

    #2E1642

    oklch(25.9% 0.082 306.7)

  • #361D00

    #361D00

    oklch(25.9% 0.058 66.1)

  • #002B27

    #002B27

    oklch(26% 0.046 185.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E1642

    #2E1642

    oklch(25.9% 0.082 306.7)

  • #431002

    #431002

    oklch(25.9% 0.082 37.1)

  • #1B2900

    #1B2900

    oklch(25.8% 0.066 126.8)

  • #002932

    #002932

    oklch(25.9% 0.046 216.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2E1642 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.