#231128

Closest named color: Very Dark Purple (#2A0134). oklch(21.5% 0.05 318.7), rgb(35, 17, 40).

Aa

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

About this color

#231128 is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.050 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.049 away. White text reads best on it, at 17.76:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.050)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.18:1
White text17.76:1

Values

HEX#231128
RGBrgb(35, 17, 40)
HSLhsl(287, 40%, 11%)
OKLCHoklch(21.5% 0.05 318.7)

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 #231128 17.76:1 AAA Lc -106.7 Preferred for body text
Black text on #231128 1.18:1 Fails Lc 0.0 Not readable
#231128 text on white 17.76:1 AAA Lc 104.4 Preferred for body text
#231128 text on black 1.18: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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E3D3E7

    oklch(88.6% 0.032 319.5)

  4. Step 300

    300

    #D1B5DA

    oklch(80.9% 0.06 317.9)

  5. Step 400

    400

    #BA8EC7

    oklch(70.8% 0.095 318.4)

  6. Step 500

    500

    #A870B8

    oklch(63% 0.121 318.5)

  7. Step 600

    600

    #9357A4

    oklch(55.5% 0.132 318.5)

  8. Step 700

    700

    #7E478D

    oklch(49.2% 0.123 318.7)

  9. Step 800

    800

    #663B72

    oklch(42.7% 0.101 318.6)

  10. Step 900

    900

    #53335C

    oklch(37.7% 0.078 318.6)

  11. Step 950

    950 (this color)

    #231128

    oklch(21.5% 0.05 318.7)

Export this scale for Tailwind in the Tailwind colors tool

#231128 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)#0D17290.045
Deuteranopia (no green cones)#1219270.041
Tritanopia (no blue cones)#23141A0.032
Achromatopsia (no color)#1818180.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #231128

    #231128

    oklch(21.5% 0.05 318.7)

  • #0C1F07

    #0C1F07

    oklch(21.6% 0.051 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #231128

    #231128

    oklch(21.5% 0.05 318.7)

  • #19152F

    #19152F

    oklch(21.6% 0.05 288.6)

  • #2A0F1D

    #2A0F1D

    oklch(21.6% 0.049 349.7)

Open the analogous palette in the generator

Split complementary

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

  • #231128

    #231128

    oklch(21.5% 0.05 318.7)

  • #1B1B00

    #1B1B00

    oklch(21.5% 0.047 109.8)

  • #002016

    #002016

    oklch(21.6% 0.044 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #231128

    #231128

    oklch(21.5% 0.05 318.7)

  • #241600

    #241600

    oklch(21.3% 0.044 78.3)

  • #001E20

    #001E20

    oklch(21.4% 0.036 201)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #231128

    #231128

    oklch(21.5% 0.05 318.7)

  • #2B1103

    #2B1103

    oklch(21.4% 0.05 49.1)

  • #0C1F07

    #0C1F07

    oklch(21.6% 0.051 139.3)

  • #001D29

    #001D29

    oklch(21.6% 0.042 228.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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