#1C122F

Closest named color: Rich Black (#0D1B2A). oklch(21.2% 0.056 297.3), rgb(28, 18, 47).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.056)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.84:1

Values

HEX#1C122F
RGBrgb(28, 18, 47)
HSLhsl(261, 45%, 13%)
OKLCHoklch(21.2% 0.056 297.3)

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 #1C122F 17.84:1 AAA Lc -106.7 Preferred for body text
Black text on #1C122F 1.17:1 Fails Lc 0.0 Not readable
#1C122F text on white 17.84:1 AAA Lc 104.5 Preferred for body text
#1C122F text on black 1.17: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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F5

    oklch(93.5% 0.019 299.1)

  3. Step 200

    200

    #DBD4EF

    oklch(88.4% 0.037 297.5)

  4. Step 300

    300

    #C5B8E7

    oklch(80.9% 0.067 297.6)

  5. Step 400

    400

    #A892DB

    oklch(70.7% 0.107 297.5)

  6. Step 500

    500

    #9376D1

    oklch(63.2% 0.136 297)

  7. Step 600

    600

    #7E5DBE

    oklch(55.7% 0.147 297.1)

  8. Step 700

    700

    #6B4CA4

    oklch(49.2% 0.137 297.4)

  9. Step 800

    800

    #573F85

    oklch(42.9% 0.113 297.2)

  10. Step 900

    900

    #47366A

    oklch(37.7% 0.088 297.1)

  11. Step 950

    950 (this color)

    #1C122F

    oklch(21.2% 0.056 297.3)

Export this scale for Tailwind in the Tailwind colors tool

#1C122F 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)#0818300.036
Deuteranopia (no green cones)#0A172E0.034
Tritanopia (no blue cones)#18181E0.045
Achromatopsia (no color)#1717170.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #1C122F

    #1C122F

    oklch(21.2% 0.056 297.3)

  • #171B00

    #171B00

    oklch(21.1% 0.049 117.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1C122F

    #1C122F

    oklch(21.2% 0.056 297.3)

  • #0D1732

    #0D1732

    oklch(21.2% 0.055 266.5)

  • #260E26

    #260E26

    oklch(21.2% 0.056 327.3)

Open the analogous palette in the generator

Split complementary

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

  • #1C122F

    #1C122F

    oklch(21.2% 0.056 297.3)

  • #211700

    #211700

    oklch(21.1% 0.043 87.4)

  • #031F08

    #031F08

    oklch(21.1% 0.056 147.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1C122F

    #1C122F

    oklch(21.2% 0.056 297.3)

  • #2A1100

    #2A1100

    oklch(21.2% 0.052 56)

  • #001F19

    #001F19

    oklch(21.4% 0.04 177.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1C122F

    #1C122F

    oklch(21.2% 0.056 297.3)

  • #2E0C0A

    #2E0C0A

    oklch(21.2% 0.057 26.4)

  • #171B00

    #171B00

    oklch(21.1% 0.049 117.1)

  • #001D21

    #001D21

    oklch(21.1% 0.036 207.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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