#2B173B

Closest named color: Dark Purple (#35063E). oklch(25.1% 0.069 307.8), rgb(43, 23, 59).

Aa

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

About this color

#2B173B is a dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.069 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.041 away. White text reads best on it, at 16.29:1.

Hue familyPurples
Lightnessdark (25%)
Chromamuted (0.069)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.28:1
White text16.29:1

Values

HEX#2B173B
RGBrgb(43, 23, 59)
HSLhsl(273, 44%, 16%)
OKLCHoklch(25.1% 0.069 307.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 #2B173B 16.29:1 AAA Lc -105.6 Preferred for body text
Black text on #2B173B 1.28:1 Fails Lc 0.0 Not readable
#2B173B text on white 16.29:1 AAA Lc 103.1 Preferred for body text
#2B173B text on black 1.28: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E1D2F1

    oklch(88.5% 0.045 307.2)

  4. Step 300

    300

    #CFB3EA

    oklch(80.9% 0.082 307.7)

  5. Step 400

    400

    #B789DF

    oklch(70.7% 0.131 307.9)

  6. Step 500

    500

    #A569D6

    oklch(63.1% 0.167 307.7)

  7. Step 600

    600

    #914DC3

    oklch(55.6% 0.182 308.1)

  8. Step 700

    700

    #7B3DA9

    oklch(49.1% 0.17 307.7)

  9. Step 800

    800

    #643489

    oklch(42.8% 0.14 307.6)

  10. Step 900

    900

    #522E6D

    oklch(37.7% 0.109 308.4)

  11. Step 950

    950 (this color)

    #2B173B

    oklch(25.1% 0.069 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#2B173B 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)#0C1F3C0.055
Deuteranopia (no green cones)#12203A0.050
Tritanopia (no blue cones)#291D260.049
Achromatopsia (no color)#2020200.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B173B

    #2B173B

    oklch(25.1% 0.069 307.8)

  • #192700

    #192700

    oklch(25% 0.065 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B173B

    #2B173B

    oklch(25.1% 0.069 307.8)

  • #1B1D42

    #1B1D42

    oklch(25.1% 0.069 277.9)

  • #36122D

    #36122D

    oklch(25% 0.07 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #2B173B

    #2B173B

    oklch(25.1% 0.069 307.8)

  • #292200

    #292200

    oklch(25.2% 0.052 97.8)

  • #002A16

    #002A16

    oklch(25.1% 0.059 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B173B

    #2B173B

    oklch(25.1% 0.069 307.8)

  • #331C00

    #331C00

    oklch(25.2% 0.055 68)

  • #002826

    #002826

    oklch(25% 0.043 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B173B

    #2B173B

    oklch(25.1% 0.069 307.8)

  • #3C1306

    #3C1306

    oklch(25.1% 0.069 38.1)

  • #192700

    #192700

    oklch(25% 0.065 127.3)

  • #002730

    #002730

    oklch(25.2% 0.045 217.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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