#2B163D

Closest named color: Dark Purple (#35063E). oklch(25.1% 0.074 306.7), rgb(43, 22, 61).

Aa

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

About this color

#2B163D is a dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.074 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.038 away. White text reads best on it, at 16.34:1.

Hue familyPurples
Lightnessdark (25%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.28:1
White text16.34:1

Values

HEX#2B163D
RGBrgb(43, 22, 61)
HSLhsl(272, 47%, 16%)
OKLCHoklch(25.1% 0.074 306.7)

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 #2B163D 16.34:1 AAA Lc -105.6 Preferred for body text
Black text on #2B163D 1.28:1 Fails Lc 0.0 Not readable
#2B163D text on white 16.34:1 AAA Lc 103.1 Preferred for body text
#2B163D 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E1D1F3

    oklch(88.4% 0.049 306.6)

  4. Step 300

    300

    #CFB2ED

    oklch(80.8% 0.087 306.9)

  5. Step 400

    400

    #B788E5

    oklch(70.8% 0.14 306.4)

  6. Step 500

    500

    #A666DD

    oklch(63.1% 0.18 306.8)

  7. Step 600

    600

    #914ACA

    oklch(55.6% 0.194 306.7)

  8. Step 700

    700

    #7C3AAF

    oklch(49.2% 0.181 306.8)

  9. Step 800

    800

    #64318E

    oklch(42.7% 0.15 306.3)

  10. Step 900

    900

    #522C71

    oklch(37.7% 0.117 307.1)

  11. Step 950

    950 (this color)

    #2B163D

    oklch(25.1% 0.074 306.7)

Export this scale for Tailwind in the Tailwind colors tool

#2B163D 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)#081F3E0.060
Deuteranopia (no green cones)#10203C0.054
Tritanopia (no blue cones)#281D270.052
Achromatopsia (no color)#2020200.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B163D

    #2B163D

    oklch(25.1% 0.074 306.7)

  • #1A2700

    #1A2700

    oklch(25.1% 0.064 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B163D

    #2B163D

    oklch(25.1% 0.074 306.7)

  • #1A1C44

    #1A1C44

    oklch(25% 0.074 277.5)

  • #37112F

    #37112F

    oklch(25.2% 0.074 336.6)

Open the analogous palette in the generator

Split complementary

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

  • #2B163D

    #2B163D

    oklch(25.1% 0.074 306.7)

  • #292100

    #292100

    oklch(25% 0.051 95.7)

  • #002A15

    #002A15

    oklch(25.1% 0.061 156.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B163D

    #2B163D

    oklch(25.1% 0.074 306.7)

  • #331B00

    #331B00

    oklch(24.9% 0.056 65.9)

  • #002825

    #002825

    oklch(24.9% 0.043 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B163D

    #2B163D

    oklch(25.1% 0.074 306.7)

  • #3E1105

    #3E1105

    oklch(25.1% 0.074 36.3)

  • #1A2700

    #1A2700

    oklch(25.1% 0.064 126.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 #2B163D, closest first.

Similar named colors

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

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