#2B123A

Closest named color: Dark Purple (#35063E). oklch(24.1% 0.077 310.7), rgb(43, 18, 58).

Aa

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

About this color

#2B123A is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.077 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.032 away. White text reads best on it, at 16.79:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.25:1
White text16.79:1

Values

HEX#2B123A
RGBrgb(43, 18, 58)
HSLhsl(278, 53%, 15%)
OKLCHoklch(24.1% 0.077 310.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 #2B123A 16.79:1 AAA Lc -105.9 Preferred for body text
Black text on #2B123A 1.25:1 Fails Lc 0.0 Not readable
#2B123A text on white 16.79:1 AAA Lc 103.5 Preferred for body text
#2B123A text on black 1.25: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F7

    oklch(93.5% 0.026 310.4)

  3. Step 200

    200

    #E4D0F3

    oklch(88.5% 0.052 310.8)

  4. Step 300

    300

    #D3B0ED

    oklch(80.8% 0.092 310.4)

  5. Step 400

    400

    #BD84E3

    oklch(70.6% 0.146 310.7)

  6. Step 500

    500

    #AD61DB

    oklch(63% 0.187 310.9)

  7. Step 600

    600

    #9843C9

    oklch(55.5% 0.204 310.6)

  8. Step 700

    700

    #8234AD

    oklch(49.1% 0.188 310.9)

  9. Step 800

    800

    #6A2C8C

    oklch(42.7% 0.157 311.2)

  10. Step 900

    900

    #562A70

    oklch(37.8% 0.121 310.9)

  11. Step 950

    950 (this color)

    #2B123A

    oklch(24.1% 0.077 310.7)

Export this scale for Tailwind in the Tailwind colors tool

#2B123A 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)#051C3B0.067
Deuteranopia (no green cones)#0E1E390.060
Tritanopia (no blue cones)#2919230.053
Achromatopsia (no color)#1D1D1D0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B123A

    #2B123A

    oklch(24.1% 0.077 310.7)

  • #142500

    #142500

    oklch(24% 0.065 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B123A

    #2B123A

    oklch(24.1% 0.077 310.7)

  • #1A1943

    #1A1943

    oklch(24.2% 0.077 280)

  • #360D2A

    #360D2A

    oklch(24.1% 0.076 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #2B123A

    #2B123A

    oklch(24.1% 0.077 310.7)

  • #252000

    #252000

    oklch(24.2% 0.05 100.9)

  • #002717

    #002717

    oklch(24.1% 0.053 161.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B123A

    #2B123A

    oklch(24.1% 0.077 310.7)

  • #2F1A00

    #2F1A00

    oklch(24.1% 0.052 69.3)

  • #002624

    #002624

    oklch(24.2% 0.042 189.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B123A

    #2B123A

    oklch(24.1% 0.077 310.7)

  • #3B0F00

    #3B0F00

    oklch(24.1% 0.074 40.8)

  • #142500

    #142500

    oklch(24% 0.065 130.6)

  • #00242E

    #00242E

    oklch(24.1% 0.044 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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