#231B2A

Closest named color: Dark (#1B2431). oklch(23.9% 0.03 308.5), rgb(35, 27, 42).

Aa

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

About this color

#231B2A is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.030 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.032 away. White text reads best on it, at 16.64:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamuted (0.030)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.26:1
White text16.64:1

Values

HEX#231B2A
RGBrgb(35, 27, 42)
HSLhsl(272, 22%, 14%)
OKLCHoklch(23.9% 0.03 308.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 #231B2A 16.64:1 AAA Lc -106.0 Preferred for body text
Black text on #231B2A 1.26:1 Fails Lc 0.0 Not readable
#231B2A text on white 16.64:1 AAA Lc 103.6 Preferred for body text
#231B2A text on black 1.26: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DDD6E3

    oklch(88.5% 0.019 309.8)

  4. Step 300

    300

    #C7BBD3

    oklch(80.9% 0.036 308)

  5. Step 400

    400

    #AB97BD

    oklch(70.7% 0.059 308.7)

  6. Step 500

    500

    #967EAC

    oklch(63.2% 0.073 308.1)

  7. Step 600

    600

    #816697

    oklch(55.6% 0.08 309.1)

  8. Step 700

    700

    #6D5581

    oklch(49.1% 0.074 308.8)

  9. Step 800

    800

    #594669

    oklch(42.8% 0.061 308.8)

  10. Step 900

    900

    #493B55

    oklch(37.8% 0.047 308.8)

  11. Step 950

    950 (this color)

    #231B2A

    oklch(23.9% 0.03 308.5)

Export this scale for Tailwind in the Tailwind colors tool

#231B2A 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)#181E2B0.022
Deuteranopia (no green cones)#1A1E2A0.019
Tritanopia (no blue cones)#221D200.023
Achromatopsia (no color)#1E1E1E0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #231B2A

    #231B2A

    oklch(23.9% 0.03 308.5)

  • #1B2212

    #1B2212

    oklch(24% 0.031 127.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231B2A

    #231B2A

    oklch(23.9% 0.03 308.5)

  • #1C1D2D

    #1C1D2D

    oklch(23.8% 0.031 281)

  • #291924

    #291924

    oklch(23.9% 0.032 338.8)

Open the analogous palette in the generator

Split complementary

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

  • #231B2A

    #231B2A

    oklch(23.9% 0.03 308.5)

  • #231F0E

    #231F0E

    oklch(23.9% 0.03 96.5)

  • #12231A

    #12231A

    oklch(23.8% 0.029 160)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231B2A

    #231B2A

    oklch(23.9% 0.03 308.5)

  • #281C0F

    #281C0F

    oklch(23.8% 0.029 67.8)

  • #0B2422

    #0B2422

    oklch(24% 0.031 188.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231B2A

    #231B2A

    oklch(23.9% 0.03 308.5)

  • #2B1A14

    #2B1A14

    oklch(23.8% 0.03 40.2)

  • #1B2212

    #1B2212

    oklch(24% 0.031 127.8)

  • #0C2229

    #0C2229

    oklch(23.8% 0.031 221.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #231B2A 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.