#2A2137

Closest named color: Oxford Blue (#1B263B). oklch(26.9% 0.042 302.5), rgb(42, 33, 55).

Aa

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

About this color

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

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

Values

HEX#2A2137
RGBrgb(42, 33, 55)
HSLhsl(265, 25%, 17%)
OKLCHoklch(26.9% 0.042 302.5)

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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DCD5E9

    oklch(88.5% 0.028 301.7)

  4. Step 300

    300

    #C6BADC

    oklch(81% 0.049 301.4)

  5. Step 400

    400

    #AA95CA

    oklch(70.7% 0.079 302.5)

  6. Step 500

    500

    #957ABC

    oklch(63% 0.101 302.4)

  7. Step 600

    600

    #8062A8

    oklch(55.5% 0.11 302.7)

  8. Step 700

    700

    #6C5190

    oklch(49% 0.102 302.6)

  9. Step 800

    800

    #584375

    oklch(42.7% 0.084 302.4)

  10. Step 900

    900

    #48395F

    oklch(37.8% 0.066 301.5)

  11. Step 950

    950 (this color)

    #2A2137

    oklch(26.9% 0.042 302.5)

Export this scale for Tailwind in the Tailwind colors tool

#2A2137 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)#1C25380.026
Deuteranopia (no green cones)#1E25360.024
Tritanopia (no blue cones)#2824290.032
Achromatopsia (no color)#2525250.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2137

    #2A2137

    oklch(26.9% 0.042 302.5)

  • #222911

    #222911

    oklch(26.7% 0.042 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2137

    #2A2137

    oklch(26.9% 0.042 302.5)

  • #1F253B

    #1F253B

    oklch(27% 0.042 271.7)

  • #321E2F

    #321E2F

    oklch(26.8% 0.042 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #2A2137

    #2A2137

    oklch(26.9% 0.042 302.5)

  • #2D250C

    #2D250C

    oklch(26.7% 0.041 91.7)

  • #152C1C

    #152C1C

    oklch(26.9% 0.042 152.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2137

    #2A2137

    oklch(26.9% 0.042 302.5)

  • #35210F

    #35210F

    oklch(26.9% 0.043 61.4)

  • #082D28

    #082D28

    oklch(27% 0.042 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2137

    #2A2137

    oklch(26.9% 0.042 302.5)

  • #381E19

    #381E19

    oklch(26.9% 0.042 31.7)

  • #222911

    #222911

    oklch(26.7% 0.042 122.6)

  • #072B32

    #072B32

    oklch(26.8% 0.041 213.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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