#231948

Closest named color: Dark Indigo (#1F0954). oklch(25.6% 0.084 288.8), rgb(35, 25, 72).

Aa

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

About this color

#231948 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.084 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.042 away. White text reads best on it, at 16.10:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.30:1
White text16.10:1

Values

HEX#231948
RGBrgb(35, 25, 72)
HSLhsl(253, 48%, 19%)
OKLCHoklch(25.6% 0.084 288.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 #231948 16.10:1 AAA Lc -105.4 Preferred for body text
Black text on #231948 1.30:1 Fails Lc 0.0 Not readable
#231948 text on white 16.10:1 AAA Lc 102.9 Preferred for body text
#231948 text on black 1.30: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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D7D4FC

    oklch(88.5% 0.055 288.7)

  4. Step 300

    300

    #BEB6FD

    oklch(80.8% 0.1 289.1)

  5. Step 400

    400

    #9F8DFC

    oklch(70.7% 0.159 289.1)

  6. Step 500

    500

    #896CFA

    oklch(63.1% 0.203 288.6)

  7. Step 600

    600

    #754EE9

    oklch(55.6% 0.221 288.6)

  8. Step 700

    700

    #633DCB

    oklch(49.1% 0.206 288.7)

  9. Step 800

    800

    #5134A4

    oklch(42.8% 0.17 289)

  10. Step 900

    900

    #422F82

    oklch(37.6% 0.133 288.9)

  11. Step 950

    950 (this color)

    #231948

    oklch(25.6% 0.084 288.8)

Export this scale for Tailwind in the Tailwind colors tool

#231948 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)#00224A0.049
Deuteranopia (no green cones)#0020470.049
Tritanopia (no blue cones)#17242D0.071
Achromatopsia (no color)#2121210.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #231948

    #231948

    oklch(25.6% 0.084 288.8)

  • #252500

    #252500

    oklch(25.6% 0.056 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231948

    #231948

    oklch(25.6% 0.084 288.8)

  • #06214A

    #06214A

    oklch(25.6% 0.083 258.8)

  • #33123C

    #33123C

    oklch(25.5% 0.084 318.5)

Open the analogous palette in the generator

Split complementary

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

  • #231948

    #231948

    oklch(25.6% 0.084 288.8)

  • #311F00

    #311F00

    oklch(25.6% 0.053 77.5)

  • #0A2B00

    #0A2B00

    oklch(25.5% 0.08 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231948

    #231948

    oklch(25.6% 0.084 288.8)

  • #3C1600

    #3C1600

    oklch(25.5% 0.069 48.6)

  • #002B1F

    #002B1F

    oklch(25.7% 0.051 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231948

    #231948

    oklch(25.6% 0.084 288.8)

  • #430B12

    #430B12

    oklch(25.6% 0.084 18.9)

  • #252500

    #252500

    oklch(25.6% 0.056 109.8)

  • #00292B

    #00292B

    oklch(25.5% 0.043 199.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #231948 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.