#2E2138

Closest named color: Oxford Blue (#1B263B). oklch(27.4% 0.045 309.6), rgb(46, 33, 56).

Aa

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

About this color

#2E2138 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.045 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.035 away. White text reads best on it, at 15.09:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.045)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.39:1
White text15.09:1

Values

HEX#2E2138
RGBrgb(46, 33, 56)
HSLhsl(274, 26%, 17%)
OKLCHoklch(27.4% 0.045 309.6)

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 #2E2138 15.09:1 AAA Lc -104.7 Preferred for body text
Black text on #2E2138 1.39:1 Fails Lc 0.0 Not readable
#2E2138 text on white 15.09:1 AAA Lc 101.9 Preferred for body text
#2E2138 text on black 1.39: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

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #DFD4E8

    oklch(88.5% 0.03 310.1)

  4. Step 300

    300

    #CBB8DB

    oklch(81% 0.053 309.5)

  5. Step 400

    400

    #B192C9

    oklch(70.7% 0.085 309.9)

  6. Step 500

    500

    #9D76BB

    oklch(63% 0.109 309.5)

  7. Step 600

    600

    #885EA7

    oklch(55.6% 0.118 309.5)

  8. Step 700

    700

    #734D8F

    oklch(49% 0.11 309.4)

  9. Step 800

    800

    #5E4074

    oklch(42.8% 0.09 309.6)

  10. Step 900

    900

    #4D365E

    oklch(37.7% 0.072 309.7)

  11. Step 950

    950 (this color)

    #2E2138

    oklch(27.4% 0.045 309.6)

Export this scale for Tailwind in the Tailwind colors tool

#2E2138 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)#1D26390.033
Deuteranopia (no green cones)#2026370.029
Tritanopia (no blue cones)#2D242A0.031
Achromatopsia (no color)#2626260.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E2138

    #2E2138

    oklch(27.4% 0.045 309.6)

  • #202C13

    #202C13

    oklch(27.5% 0.046 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E2138

    #2E2138

    oklch(27.4% 0.045 309.6)

  • #23253D

    #23253D

    oklch(27.5% 0.044 279.4)

  • #361E2E

    #361E2E

    oklch(27.3% 0.045 340.4)

Open the analogous palette in the generator

Split complementary

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

  • #2E2138

    #2E2138

    oklch(27.4% 0.045 309.6)

  • #2D280B

    #2D280B

    oklch(27.5% 0.045 99.6)

  • #112E1F

    #112E1F

    oklch(27.4% 0.045 158.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E2138

    #2E2138

    oklch(27.4% 0.045 309.6)

  • #36230D

    #36230D

    oklch(27.4% 0.045 67.9)

  • #032E2C

    #032E2C

    oklch(27.3% 0.045 190.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E2138

    #2E2138

    oklch(27.4% 0.045 309.6)

  • #3A1F16

    #3A1F16

    oklch(27.3% 0.045 39.2)

  • #202C13

    #202C13

    oklch(27.5% 0.046 130)

  • #062C36

    #062C36

    oklch(27.3% 0.045 219.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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