#2E2237

Closest named color: Oxford Blue (#1B263B). oklch(27.6% 0.041 310), rgb(46, 34, 55).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.041)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.40:1
White text14.99:1

Values

HEX#2E2237
RGBrgb(46, 34, 55)
HSLhsl(274, 24%, 17%)
OKLCHoklch(27.6% 0.041 310)

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 #2E2237 14.99:1 AAA Lc -104.6 Preferred for body text
Black text on #2E2237 1.40:1 Fails Lc 0.0 Not readable
#2E2237 text on white 14.99:1 AAA Lc 101.8 Preferred for body text
#2E2237 text on black 1.40: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DFD5E7

    oklch(88.6% 0.027 310.4)

  4. Step 300

    300

    #CAB8D9

    oklch(80.8% 0.05 309.7)

  5. Step 400

    400

    #B093C5

    oklch(70.7% 0.078 310.7)

  6. Step 500

    500

    #9C78B7

    oklch(63.1% 0.1 309.9)

  7. Step 600

    600

    #8760A3

    oklch(55.6% 0.109 310)

  8. Step 700

    700

    #724F8B

    oklch(49% 0.101 310)

  9. Step 800

    800

    #5D4171

    oklch(42.7% 0.084 310.1)

  10. Step 900

    900

    #4C375B

    oklch(37.6% 0.065 310.3)

  11. Step 950

    950 (this color)

    #2E2237

    oklch(27.6% 0.041 310)

Export this scale for Tailwind in the Tailwind colors tool

#2E2237 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)#1E26380.030
Deuteranopia (no green cones)#2127360.028
Tritanopia (no blue cones)#2D252A0.029
Achromatopsia (no color)#2727270.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E2237

    #2E2237

    oklch(27.6% 0.041 310)

  • #212C16

    #212C16

    oklch(27.6% 0.041 130.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E2237

    #2E2237

    oklch(27.6% 0.041 310)

  • #24253C

    #24253C

    oklch(27.5% 0.042 281.3)

  • #35202E

    #35202E

    oklch(27.6% 0.04 340)

Open the analogous palette in the generator

Split complementary

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

  • #2E2237

    #2E2237

    oklch(27.6% 0.041 310)

  • #2D280F

    #2D280F

    oklch(27.6% 0.041 98.2)

  • #142E21

    #142E21

    oklch(27.6% 0.041 160.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E2237

    #2E2237

    oklch(27.6% 0.041 310)

  • #352410

    #352410

    oklch(27.6% 0.041 69.1)

  • #092E2C

    #092E2C

    oklch(27.5% 0.041 189.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E2237

    #2E2237

    oklch(27.6% 0.041 310)

  • #392118

    #392118

    oklch(27.6% 0.041 41.3)

  • #212C16

    #212C16

    oklch(27.6% 0.041 130.4)

  • #0B2C36

    #0B2C36

    oklch(27.4% 0.042 221.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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