#1C1339

Closest named color: Midnight Purple (#280137). oklch(22.3% 0.071 290.4), rgb(28, 19, 57).

Aa

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

About this color

#1C1339 is a very dark, moderately saturated purple. In OKLCH its lightness is 22%, its chroma 0.071 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.048 away. White text reads best on it, at 17.47:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.20:1
White text17.47:1

Values

HEX#1C1339
RGBrgb(28, 19, 57)
HSLhsl(254, 50%, 15%)
OKLCHoklch(22.3% 0.071 290.4)

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 #1C1339 17.47:1 AAA Lc -106.5 Preferred for body text
Black text on #1C1339 1.20:1 Fails Lc 0.0 Not readable
#1C1339 text on white 17.47:1 AAA Lc 104.2 Preferred for body text
#1C1339 text on black 1.20: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7F9

    oklch(93.5% 0.024 291)

  3. Step 200

    200

    #D8D4F6

    oklch(88.4% 0.047 290.8)

  4. Step 300

    300

    #C0B8F3

    oklch(81% 0.083 290.6)

  5. Step 400

    400

    #A191ED

    oklch(70.8% 0.133 290.6)

  6. Step 500

    500

    #8B72E8

    oklch(63.1% 0.172 290.4)

  7. Step 600

    600

    #7657D6

    oklch(55.6% 0.186 290.2)

  8. Step 700

    700

    #6446B9

    oklch(49% 0.173 290.6)

  9. Step 800

    800

    #513B96

    oklch(42.7% 0.143 290.2)

  10. Step 900

    900

    #433377

    oklch(37.6% 0.112 290.9)

  11. Step 950

    950 (this color)

    #1C1339

    oklch(22.3% 0.071 290.4)

Export this scale for Tailwind in the Tailwind colors tool

#1C1339 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)#011A3A0.043
Deuteranopia (no green cones)#0219380.042
Tritanopia (no blue cones)#141B230.057
Achromatopsia (no color)#1A1A1A0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #1C1339

    #1C1339

    oklch(22.3% 0.071 290.4)

  • #1D1D00

    #1D1D00

    oklch(22.3% 0.049 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1C1339

    #1C1339

    oklch(22.3% 0.071 290.4)

  • #06193B

    #06193B

    oklch(22.1% 0.071 260.6)

  • #290D2F

    #290D2F

    oklch(22.2% 0.071 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #1C1339

    #1C1339

    oklch(22.3% 0.071 290.4)

  • #261800

    #261800

    oklch(22.1% 0.046 79.8)

  • #052301

    #052301

    oklch(22.5% 0.07 140.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1C1339

    #1C1339

    oklch(22.3% 0.071 290.4)

  • #301100

    #301100

    oklch(22.3% 0.059 50)

  • #002218

    #002218

    oklch(22.4% 0.045 169.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1C1339

    #1C1339

    oklch(22.3% 0.071 290.4)

  • #35090C

    #35090C

    oklch(22.2% 0.07 21.2)

  • #1D1D00

    #1D1D00

    oklch(22.3% 0.049 109.8)

  • #002022

    #002022

    oklch(22.1% 0.038 200.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1C1339 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.