#231342

Closest named color: Dark Indigo (#1F0954). oklch(23.9% 0.085 294.8), rgb(35, 19, 66).

Aa

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

About this color

#231342 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.085 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.040 away. White text reads best on it, at 16.89:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameDark Indigo (#1F0954)
Black text1.24:1
White text16.89:1

Values

HEX#231342
RGBrgb(35, 19, 66)
HSLhsl(260, 55%, 17%)
OKLCHoklch(23.9% 0.085 294.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 #231342 16.89:1 AAA Lc -106.0 Preferred for body text
Black text on #231342 1.24:1 Fails Lc 0.0 Not readable
#231342 text on white 16.89:1 AAA Lc 103.6 Preferred for body text
#231342 text on black 1.24: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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DBD3FB

    oklch(88.6% 0.055 294.4)

  4. Step 300

    300

    #C5B4FB

    oklch(80.9% 0.1 295.1)

  5. Step 400

    400

    #A989F9

    oklch(70.7% 0.161 295.1)

  6. Step 500

    500

    #9567F6

    oklch(63.1% 0.205 294.6)

  7. Step 600

    600

    #8148E5

    oklch(55.6% 0.223 294.7)

  8. Step 700

    700

    #6E37C7

    oklch(49.1% 0.208 295)

  9. Step 800

    800

    #5930A1

    oklch(42.8% 0.172 294.7)

  10. Step 900

    900

    #492C80

    oklch(37.7% 0.135 295)

  11. Step 950

    950 (this color)

    #231342

    oklch(23.9% 0.085 294.8)

Export this scale for Tailwind in the Tailwind colors tool

#231342 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)#001D430.055
Deuteranopia (no green cones)#001C410.055
Tritanopia (no blue cones)#1B1E280.067
Achromatopsia (no color)#1D1D1D0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #231342

    #231342

    oklch(23.9% 0.085 294.8)

  • #1E2200

    #1E2200

    oklch(24% 0.055 116)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231342

    #231342

    oklch(23.9% 0.085 294.8)

  • #0A1B46

    #0A1B46

    oklch(23.9% 0.084 264.5)

  • #320C35

    #320C35

    oklch(24% 0.085 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #231342

    #231342

    oklch(23.9% 0.085 294.8)

  • #2A1D00

    #2A1D00

    oklch(24% 0.049 84.9)

  • #002804

    #002804

    oklch(24.1% 0.076 144.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231342

    #231342

    oklch(23.9% 0.085 294.8)

  • #341600

    #341600

    oklch(24% 0.059 55)

  • #00261E

    #00261E

    oklch(24% 0.045 175.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231342

    #231342

    oklch(23.9% 0.085 294.8)

  • #3E0608

    #3E0608

    oklch(23.7% 0.085 24.8)

  • #1E2200

    #1E2200

    oklch(24% 0.055 116)

  • #002428

    #002428

    oklch(23.8% 0.041 205.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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