#151128

Closest named color: Rich Black (#0D1B2A). oklch(19.6% 0.045 289.5), rgb(21, 17, 40).

Aa

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

About this color

#151128 is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.045 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.035 away. White text reads best on it, at 18.37:1.

Hue familyPurples
Lightnessvery dark (20%)
Chromamuted (0.045)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.14:1
White text18.37:1

Values

HEX#151128
RGBrgb(21, 17, 40)
HSLhsl(250, 40%, 11%)
OKLCHoklch(19.6% 0.045 289.5)

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 #151128 18.37:1 AAA Lc -107.1 Preferred for body text
Black text on #151128 1.14:1 Fails Lc 0.0 Not readable
#151128 text on white 18.37:1 AAA Lc 105.0 Preferred for body text
#151128 text on black 1.14: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D8D6EC

    oklch(88.4% 0.03 289.9)

  4. Step 300

    300

    #BFBBE2

    oklch(80.8% 0.055 289.8)

  5. Step 400

    400

    #9F98D3

    oklch(70.7% 0.086 289.5)

  6. Step 500

    500

    #887DC7

    oklch(63% 0.11 289.7)

  7. Step 600

    600

    #7366B4

    oklch(55.7% 0.119 289.6)

  8. Step 700

    700

    #60549B

    oklch(49.1% 0.111 289.4)

  9. Step 800

    800

    #4E457D

    oklch(42.6% 0.091 289.3)

  10. Step 900

    900

    #413A65

    oklch(37.6% 0.072 289.9)

  11. Step 950

    950 (this color)

    #151128

    oklch(19.6% 0.045 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#151128 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)#0915290.023
Deuteranopia (no green cones)#0914270.022
Tritanopia (no blue cones)#10161A0.039
Achromatopsia (no color)#1414140.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #151128

    #151128

    oklch(19.6% 0.045 289.5)

  • #171700

    #171700

    oklch(19.8% 0.043 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151128

    #151128

    oklch(19.6% 0.045 289.5)

  • #081529

    #081529

    oklch(19.6% 0.045 258.6)

  • #1E0E22

    #1E0E22

    oklch(19.7% 0.045 319.4)

Open the analogous palette in the generator

Split complementary

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

  • #151128

    #151128

    oklch(19.6% 0.045 289.5)

  • #1F1300

    #1F1300

    oklch(19.8% 0.041 80.2)

  • #091A06

    #091A06

    oklch(19.7% 0.045 140.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151128

    #151128

    oklch(19.6% 0.045 289.5)

  • #250E02

    #250E02

    oklch(19.6% 0.046 50.5)

  • #001B12

    #001B12

    oklch(19.7% 0.04 168.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151128

    #151128

    oklch(19.6% 0.045 289.5)

  • #260B0D

    #260B0D

    oklch(19.5% 0.046 17.8)

  • #171700

    #171700

    oklch(19.8% 0.043 109.8)

  • #001A1B

    #001A1B

    oklch(19.8% 0.034 198.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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