#231B35

Closest named color: Dark (#1B2431). oklch(24.5% 0.049 296.8), rgb(35, 27, 53).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (25%)
Chromamuted (0.049)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.27:1
White text16.41:1

Values

HEX#231B35
RGBrgb(35, 27, 53)
HSLhsl(258, 33%, 16%)
OKLCHoklch(24.5% 0.049 296.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 #231B35 16.41:1 AAA Lc -105.8 Preferred for body text
Black text on #231B35 1.27:1 Fails Lc 0.0 Not readable
#231B35 text on white 16.41:1 AAA Lc 103.3 Preferred for body text
#231B35 text on black 1.27: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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F4

    oklch(93.7% 0.016 297.5)

  3. Step 200

    200

    #DBD5ED

    oklch(88.5% 0.033 297.2)

  4. Step 300

    300

    #C4B9E2

    oklch(80.8% 0.058 297.4)

  5. Step 400

    400

    #A694D4

    oklch(70.6% 0.094 296.8)

  6. Step 500

    500

    #9179C9

    oklch(63.1% 0.12 296.6)

  7. Step 600

    600

    #7C61B5

    oklch(55.7% 0.129 296.8)

  8. Step 700

    700

    #684F9C

    oklch(49% 0.121 296.7)

  9. Step 800

    800

    #55417E

    oklch(42.6% 0.1 297.1)

  10. Step 900

    900

    #463866

    oklch(37.8% 0.078 296.5)

  11. Step 950

    950 (this color)

    #231B35

    oklch(24.5% 0.049 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#231B35 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)#1420360.029
Deuteranopia (no green cones)#151F340.027
Tritanopia (no blue cones)#1F20250.040
Achromatopsia (no color)#1F1F1F0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #231B35

    #231B35

    oklch(24.5% 0.049 296.8)

  • #1F2305

    #1F2305

    oklch(24.4% 0.048 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231B35

    #231B35

    oklch(24.5% 0.049 296.8)

  • #161F38

    #161F38

    oklch(24.5% 0.05 267.7)

  • #2D182D

    #2D182D

    oklch(24.7% 0.049 326.9)

Open the analogous palette in the generator

Split complementary

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

  • #231B35

    #231B35

    oklch(24.5% 0.049 296.8)

  • #2B1F01

    #2B1F01

    oklch(24.7% 0.049 87)

  • #0F2712

    #0F2712

    oklch(24.7% 0.049 146.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231B35

    #231B35

    oklch(24.5% 0.049 296.8)

  • #321A06

    #321A06

    oklch(24.6% 0.049 57.7)

  • #002720

    #002720

    oklch(24.4% 0.045 177.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231B35

    #231B35

    oklch(24.5% 0.049 296.8)

  • #341613

    #341613

    oklch(24.4% 0.049 27.1)

  • #1F2305

    #1F2305

    oklch(24.4% 0.048 116.4)

  • #00262B

    #00262B

    oklch(24.6% 0.042 207.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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