#2E1D42

Closest named color: Oxford Blue (#1B263B). oklch(27.2% 0.069 303.4), rgb(46, 29, 66).

Aa

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

About this color

#2E1D42 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.069 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.046 away. White text reads best on it, at 15.32:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.069)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.37:1
White text15.32:1

Values

HEX#2E1D42
RGBrgb(46, 29, 66)
HSLhsl(268, 39%, 19%)
OKLCHoklch(27.2% 0.069 303.4)

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 #2E1D42 15.32:1 AAA Lc -104.8 Preferred for body text
Black text on #2E1D42 1.37:1 Fails Lc 0.0 Not readable
#2E1D42 text on white 15.32:1 AAA Lc 102.1 Preferred for body text
#2E1D42 text on black 1.37: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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #DFD2F2

    oklch(88.4% 0.046 303.9)

  4. Step 300

    300

    #CBB4EC

    oklch(80.8% 0.081 303.4)

  5. Step 400

    400

    #B28BE3

    oklch(70.7% 0.131 303.6)

  6. Step 500

    500

    #9F6CDB

    oklch(63.2% 0.166 303.2)

  7. Step 600

    600

    #8A50C8

    oklch(55.5% 0.181 303.3)

  8. Step 700

    700

    #7640AD

    oklch(49.2% 0.169 303.6)

  9. Step 800

    800

    #60368C

    oklch(42.8% 0.139 303.6)

  10. Step 900

    900

    #4E3070

    oklch(37.8% 0.108 303.2)

  11. Step 950

    950 (this color)

    #2E1D42

    oklch(27.2% 0.069 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#2E1D42 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)#1225430.050
Deuteranopia (no green cones)#1625410.046
Tritanopia (no blue cones)#2A242C0.053
Achromatopsia (no color)#2525250.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E1D42

    #2E1D42

    oklch(27.2% 0.069 303.4)

  • #212C00

    #212C00

    oklch(27.3% 0.067 123.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E1D42

    #2E1D42

    oklch(27.2% 0.069 303.4)

  • #1C2348

    #1C2348

    oklch(27.1% 0.069 272.9)

  • #3A1835

    #3A1835

    oklch(27.1% 0.069 333.1)

Open the analogous palette in the generator

Split complementary

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

  • #2E1D42

    #2E1D42

    oklch(27.2% 0.069 303.4)

  • #302600

    #302600

    oklch(27.2% 0.056 93.9)

  • #013016

    #013016

    oklch(27.2% 0.068 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E1D42

    #2E1D42

    oklch(27.2% 0.069 303.4)

  • #3B1F00

    #3B1F00

    oklch(27.1% 0.061 64)

  • #002E29

    #002E29

    oklch(27.1% 0.048 183.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E1D42

    #2E1D42

    oklch(27.2% 0.069 303.4)

  • #42180F

    #42180F

    oklch(27.2% 0.068 33.6)

  • #212C00

    #212C00

    oklch(27.3% 0.067 123.1)

  • #002D35

    #002D35

    oklch(27.3% 0.048 212.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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