#2C1038

Closest named color: Dark Purple (#35063E). oklch(23.8% 0.079 314.4), rgb(44, 16, 56).

Aa

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

About this color

#2C1038 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.079 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.029 away. White text reads best on it, at 16.95:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.23:1
White text16.95:1

Values

HEX#2C1038
RGBrgb(44, 16, 56)
HSLhsl(282, 56%, 14%)
OKLCHoklch(23.8% 0.079 314.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 #2C1038 16.95:1 AAA Lc -106.0 Preferred for body text
Black text on #2C1038 1.23:1 Fails Lc 0.0 Not readable
#2C1038 text on white 16.95:1 AAA Lc 103.6 Preferred for body text
#2C1038 text on black 1.23: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E6D0F1

    oklch(88.6% 0.05 314.6)

  4. Step 300

    300

    #D7AFEB

    oklch(80.9% 0.093 314.3)

  5. Step 400

    400

    #C282E1

    oklch(70.7% 0.149 314)

  6. Step 500

    500

    #B35ED8

    oklch(63.2% 0.191 314.4)

  7. Step 600

    600

    #9E3FC5

    oklch(55.6% 0.208 314.4)

  8. Step 700

    700

    #8730AA

    oklch(49.1% 0.192 314.4)

  9. Step 800

    800

    #6E298A

    oklch(42.7% 0.16 314.5)

  10. Step 900

    900

    #59276E

    oklch(37.6% 0.125 314.6)

  11. Step 950

    950 (this color)

    #2C1038

    oklch(23.8% 0.079 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#2C1038 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)#041B390.073
Deuteranopia (no green cones)#0F1D370.063
Tritanopia (no blue cones)#2B17220.051
Achromatopsia (no color)#1C1C1C0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C1038

    #2C1038

    oklch(23.8% 0.079 314.4)

  • #0F2500

    #0F2500

    oklch(23.7% 0.069 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C1038

    #2C1038

    oklch(23.8% 0.079 314.4)

  • #1C1742

    #1C1742

    oklch(23.9% 0.078 284)

  • #370B28

    #370B28

    oklch(24% 0.079 344.2)

Open the analogous palette in the generator

Split complementary

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

  • #2C1038

    #2C1038

    oklch(23.8% 0.079 314.4)

  • #232000

    #232000

    oklch(23.9% 0.051 104.5)

  • #002618

    #002618

    oklch(23.8% 0.051 163.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C1038

    #2C1038

    oklch(23.8% 0.079 314.4)

  • #2D1B00

    #2D1B00

    oklch(24% 0.051 74.8)

  • #002524

    #002524

    oklch(23.9% 0.041 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C1038

    #2C1038

    oklch(23.8% 0.079 314.4)

  • #381100

    #381100

    oklch(23.8% 0.069 44.5)

  • #0F2500

    #0F2500

    oklch(23.7% 0.069 134.5)

  • #00232E

    #00232E

    oklch(23.8% 0.044 223.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2C1038 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.