#2E1F3A

Closest named color: Oxford Blue (#1B263B). oklch(27.1% 0.052 308.8), rgb(46, 31, 58).

Aa

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

About this color

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

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

Values

HEX#2E1F3A
RGBrgb(46, 31, 58)
HSLhsl(273, 30%, 17%)
OKLCHoklch(27.1% 0.052 308.8)

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 #2E1F3A 15.29:1 AAA Lc -104.9 Preferred for body text
Black text on #2E1F3A 1.37:1 Fails Lc 0.0 Not readable
#2E1F3A text on white 15.29:1 AAA Lc 102.1 Preferred for body text
#2E1F3A 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #E0D3EB

    oklch(88.5% 0.035 309.7)

  4. Step 300

    300

    #CCB6E0

    oklch(80.8% 0.063 308.6)

  5. Step 400

    400

    #B28FD0

    oklch(70.6% 0.1 308.6)

  6. Step 500

    500

    #A073C3

    oklch(63.2% 0.126 309.1)

  7. Step 600

    600

    #8B5AB0

    oklch(55.7% 0.137 308.9)

  8. Step 700

    700

    #764997

    oklch(49.1% 0.128 309.1)

  9. Step 800

    800

    #603C7B

    oklch(42.7% 0.107 308.9)

  10. Step 900

    900

    #4E3463

    oklch(37.7% 0.083 308.4)

  11. Step 950

    950 (this color)

    #2E1F3A

    oklch(27.1% 0.052 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#2E1F3A 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)#19253B0.040
Deuteranopia (no green cones)#1D25390.035
Tritanopia (no blue cones)#2C23290.038
Achromatopsia (no color)#2525250.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E1F3A

    #2E1F3A

    oklch(27.1% 0.052 308.8)

  • #1F2B0E

    #1F2B0E

    oklch(27% 0.051 128.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E1F3A

    #2E1F3A

    oklch(27.1% 0.052 308.8)

  • #212340

    #212340

    oklch(27% 0.054 279.2)

  • #371C2F

    #371C2F

    oklch(27.1% 0.052 339)

Open the analogous palette in the generator

Split complementary

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

  • #2E1F3A

    #2E1F3A

    oklch(27.1% 0.052 308.8)

  • #2D2703

    #2D2703

    oklch(27.1% 0.053 99.7)

  • #0A2E1D

    #0A2E1D

    oklch(27% 0.052 159.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E1F3A

    #2E1F3A

    oklch(27.1% 0.052 308.8)

  • #372105

    #372105

    oklch(27% 0.053 68.7)

  • #002E2B

    #002E2B

    oklch(27.1% 0.047 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E1F3A

    #2E1F3A

    oklch(27.1% 0.052 308.8)

  • #3C1D12

    #3C1D12

    oklch(27.1% 0.052 40.1)

  • #1F2B0E

    #1F2B0E

    oklch(27% 0.051 128.1)

  • #002C37

    #002C37

    oklch(27.1% 0.049 219.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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