#231F35

Closest named color: Dark (#1B2431). oklch(25.5% 0.041 291.5), rgb(35, 31, 53).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (25%)
Chromamuted (0.041)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.31:1
White text15.92:1

Values

HEX#231F35
RGBrgb(35, 31, 53)
HSLhsl(251, 26%, 16%)
OKLCHoklch(25.5% 0.041 291.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 #231F35 15.92:1 AAA Lc -105.4 Preferred for body text
Black text on #231F35 1.31:1 Fails Lc 0.0 Not readable
#231F35 text on white 15.92:1 AAA Lc 102.9 Preferred for body text
#231F35 text on black 1.31: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #D9D6EA

    oklch(88.4% 0.027 292.7)

  4. Step 300

    300

    #C0BCDE

    oklch(80.9% 0.048 290.7)

  5. Step 400

    400

    #A198CE

    oklch(70.7% 0.078 291.9)

  6. Step 500

    500

    #8A7EC1

    oklch(63.1% 0.1 291.5)

  7. Step 600

    600

    #7567AD

    oklch(55.7% 0.107 291.7)

  8. Step 700

    700

    #625595

    oklch(49.1% 0.101 291.6)

  9. Step 800

    800

    #504679

    oklch(42.8% 0.083 291.5)

  10. Step 900

    900

    #423B61

    oklch(37.7% 0.064 291.5)

  11. Step 950

    950 (this color)

    #231F35

    oklch(25.5% 0.041 291.5)

Export this scale for Tailwind in the Tailwind colors tool

#231F35 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)#1922360.019
Deuteranopia (no green cones)#1922340.019
Tritanopia (no blue cones)#1F23270.035
Achromatopsia (no color)#2222220.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #231F35

    #231F35

    oklch(25.5% 0.041 291.5)

  • #23250C

    #23250C

    oklch(25.6% 0.041 113.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231F35

    #231F35

    oklch(25.5% 0.041 291.5)

  • #182337

    #182337

    oklch(25.6% 0.041 261.8)

  • #2C1C2F

    #2C1C2F

    oklch(25.5% 0.041 321.1)

Open the analogous palette in the generator

Split complementary

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

  • #231F35

    #231F35

    oklch(25.5% 0.041 291.5)

  • #2D2109

    #2D2109

    oklch(25.6% 0.042 82.3)

  • #172815

    #172815

    oklch(25.6% 0.042 141.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231F35

    #231F35

    oklch(25.5% 0.041 291.5)

  • #321D0F

    #321D0F

    oklch(25.5% 0.041 53.6)

  • #092920

    #092920

    oklch(25.4% 0.041 171.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231F35

    #231F35

    oklch(25.5% 0.041 291.5)

  • #341A1A

    #341A1A

    oklch(25.4% 0.042 20.4)

  • #23250C

    #23250C

    oklch(25.6% 0.041 113.1)

  • #03292B

    #03292B

    oklch(25.7% 0.041 200.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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