#231A49

Closest named color: Dark Indigo (#1F0954). oklch(25.8% 0.084 287.9), rgb(35, 26, 73).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.31:1
White text15.96:1

Values

HEX#231A49
RGBrgb(35, 26, 73)
HSLhsl(251, 47%, 19%)
OKLCHoklch(25.8% 0.084 287.9)

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 #231A49 15.96:1 AAA Lc -105.3 Preferred for body text
Black text on #231A49 1.31:1 Fails Lc 0.0 Not readable
#231A49 text on white 15.96:1 AAA Lc 102.7 Preferred for body text
#231A49 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D6D4FC

    oklch(88.4% 0.055 287.5)

  4. Step 300

    300

    #BDB7FE

    oklch(81% 0.099 287.8)

  5. Step 400

    400

    #9D8EFD

    oklch(70.8% 0.159 287.8)

  6. Step 500

    500

    #886DFB

    oklch(63.2% 0.203 287.9)

  7. Step 600

    600

    #734FEA

    oklch(55.6% 0.221 287.6)

  8. Step 700

    700

    #613ECB

    oklch(49% 0.205 287.7)

  9. Step 800

    800

    #4F35A4

    oklch(42.7% 0.169 287.8)

  10. Step 900

    900

    #413082

    oklch(37.7% 0.132 287.9)

  11. Step 950

    950 (this color)

    #231A49

    oklch(25.8% 0.084 287.9)

Export this scale for Tailwind in the Tailwind colors tool

#231A49 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)#00234B0.048
Deuteranopia (no green cones)#0020480.048
Tritanopia (no blue cones)#17252E0.070
Achromatopsia (no color)#2222220.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #231A49

    #231A49

    oklch(25.8% 0.084 287.9)

  • #262500

    #262500

    oklch(25.7% 0.056 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231A49

    #231A49

    oklch(25.8% 0.084 287.9)

  • #05224B

    #05224B

    oklch(25.9% 0.084 257.9)

  • #34133D

    #34133D

    oklch(25.9% 0.084 318.5)

Open the analogous palette in the generator

Split complementary

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

  • #231A49

    #231A49

    oklch(25.8% 0.084 287.9)

  • #322000

    #322000

    oklch(26% 0.054 78.1)

  • #0C2C00

    #0C2C00

    oklch(25.9% 0.08 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231A49

    #231A49

    oklch(25.8% 0.084 287.9)

  • #3E1600

    #3E1600

    oklch(25.9% 0.071 47.3)

  • #002B1F

    #002B1F

    oklch(25.7% 0.051 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231A49

    #231A49

    oklch(25.8% 0.084 287.9)

  • #440C14

    #440C14

    oklch(25.9% 0.084 17.6)

  • #262500

    #262500

    oklch(25.7% 0.056 108.2)

  • #002A2B

    #002A2B

    oklch(25.9% 0.044 197.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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