#231328

Closest named color: Rich Black (#0D1B2A). oklch(21.9% 0.046 317.8), rgb(35, 19, 40).

Aa

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

About this color

#231328 is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.046 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.045 away. White text reads best on it, at 17.56:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamuted (0.046)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.19:1
White text17.56:1

Values

HEX#231328
RGBrgb(35, 19, 40)
HSLhsl(286, 36%, 12%)
OKLCHoklch(21.9% 0.046 317.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 #231328 17.56:1 AAA Lc -106.6 Preferred for body text
Black text on #231328 1.19:1 Fails Lc 0.0 Not readable
#231328 text on white 17.56:1 AAA Lc 104.3 Preferred for body text
#231328 text on black 1.19: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E2D3E6

    oklch(88.5% 0.03 319.1)

  4. Step 300

    300

    #D0B6D8

    oklch(80.9% 0.055 318.2)

  5. Step 400

    400

    #B790C4

    oklch(70.7% 0.086 317.6)

  6. Step 500

    500

    #A573B5

    oklch(63.1% 0.111 317.7)

  7. Step 600

    600

    #905BA1

    oklch(55.7% 0.12 317.6)

  8. Step 700

    700

    #7A4A89

    oklch(49% 0.111 317.8)

  9. Step 800

    800

    #643D70

    oklch(42.7% 0.094 317.9)

  10. Step 900

    900

    #51355A

    oklch(37.7% 0.071 317.7)

  11. Step 950

    950 (this color)

    #231328

    oklch(21.9% 0.046 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#231328 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)#1018290.039
Deuteranopia (no green cones)#141A270.036
Tritanopia (no blue cones)#23161B0.030
Achromatopsia (no color)#1919190.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #231328

    #231328

    oklch(21.9% 0.046 317.8)

  • #0F1F09

    #0F1F09

    oklch(21.8% 0.046 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231328

    #231328

    oklch(21.9% 0.046 317.8)

  • #19162E

    #19162E

    oklch(21.7% 0.046 287.6)

  • #29111E

    #29111E

    oklch(21.9% 0.045 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #231328

    #231328

    oklch(21.9% 0.046 317.8)

  • #1D1C01

    #1D1C01

    oklch(22.1% 0.046 107.7)

  • #002116

    #002116

    oklch(22% 0.045 166.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231328

    #231328

    oklch(21.9% 0.046 317.8)

  • #261700

    #261700

    oklch(21.9% 0.046 77.1)

  • #001F20

    #001F20

    oklch(21.7% 0.037 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231328

    #231328

    oklch(21.9% 0.046 317.8)

  • #2B1306

    #2B1306

    oklch(21.9% 0.046 48.3)

  • #0F1F09

    #0F1F09

    oklch(21.8% 0.046 137.8)

  • #001E2A

    #001E2A

    oklch(22% 0.043 228.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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