#231A48

Closest named color: Dark Indigo (#1F0954). oklch(25.8% 0.082 288.2), rgb(35, 26, 72).

Aa

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

About this color

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

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

Values

HEX#231A48
RGBrgb(35, 26, 72)
HSLhsl(252, 47%, 19%)
OKLCHoklch(25.8% 0.082 288.2)

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 #231A48 15.99:1 AAA Lc -105.4 Preferred for body text
Black text on #231A48 1.31:1 Fails Lc 0.0 Not readable
#231A48 text on white 15.99:1 AAA Lc 102.8 Preferred for body text
#231A48 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

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D7D4FC

    oklch(88.5% 0.055 288.7)

  4. Step 300

    300

    #BDB7FC

    oklch(80.9% 0.097 288)

  5. Step 400

    400

    #9D8EFB

    oklch(70.6% 0.156 288)

  6. Step 500

    500

    #886DF8

    oklch(63% 0.199 288.3)

  7. Step 600

    600

    #7450E7

    oklch(55.6% 0.216 288.2)

  8. Step 700

    700

    #623FC9

    oklch(49.1% 0.201 288.3)

  9. Step 800

    800

    #4F35A3

    oklch(42.6% 0.168 288)

  10. Step 900

    900

    #413081

    oklch(37.6% 0.13 288.1)

  11. Step 950

    950 (this color)

    #231A48

    oklch(25.8% 0.082 288.2)

Export this scale for Tailwind in the Tailwind colors tool

#231A48 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)#01234A0.048
Deuteranopia (no green cones)#0120470.047
Tritanopia (no blue cones)#17242E0.067
Achromatopsia (no color)#2222220.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #231A48

    #231A48

    oklch(25.8% 0.082 288.2)

  • #262500

    #262500

    oklch(25.7% 0.056 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231A48

    #231A48

    oklch(25.8% 0.082 288.2)

  • #06224A

    #06224A

    oklch(25.8% 0.082 258)

  • #33133C

    #33133C

    oklch(25.7% 0.082 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #231A48

    #231A48

    oklch(25.8% 0.082 288.2)

  • #312000

    #312000

    oklch(25.8% 0.054 79.7)

  • #0C2C00

    #0C2C00

    oklch(25.9% 0.08 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231A48

    #231A48

    oklch(25.8% 0.082 288.2)

  • #3D1600

    #3D1600

    oklch(25.7% 0.07 47.9)

  • #002B1F

    #002B1F

    oklch(25.7% 0.051 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231A48

    #231A48

    oklch(25.8% 0.082 288.2)

  • #430D13

    #430D13

    oklch(25.8% 0.082 19)

  • #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 #231A48, closest first.

Similar named colors

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

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