#4C1A40

Closest named color: Deep Violet (#490648). oklch(31% 0.091 338), rgb(76, 26, 64).

Aa

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

About this color

#4C1A40 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.091 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.042 away. White text reads best on it, at 13.73:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.52:1
White text13.73:1

Values

HEX#4C1A40
RGBrgb(76, 26, 64)
HSLhsl(314, 49%, 20%)
OKLCHoklch(31% 0.091 338)

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 #4C1A40 13.73:1 AAA Lc -103.0 Preferred for body text
Black text on #4C1A40 1.52:1 Fails Lc 0.0 Not readable
#4C1A40 text on white 13.73:1 AAA Lc 99.8 Preferred for body text
#4C1A40 text on black 1.52: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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F9E2F1

    oklch(93.6% 0.032 338.6)

  3. Step 200

    200

    #F5CAE7

    oklch(88.5% 0.061 338.3)

  4. Step 300

    300

    #EFA5D9

    oklch(80.9% 0.109 338.1)

  5. Step 400

    400

    #E371C6

    oklch(70.8% 0.173 337.9)

  6. Step 500

    500

    #D842B7

    oklch(63.2% 0.221 338)

  7. Step 600

    600

    #C308A2

    oklch(55.6% 0.24 338.2)

  8. Step 700

    700

    #A50089

    oklch(49% 0.215 338.1)

  9. Step 800

    800

    #880371

    oklch(42.7% 0.185 337.9)

  10. Step 900

    900

    #6E155B

    oklch(37.8% 0.144 338.4)

  11. Step 950

    950 (this color)

    #4C1A40

    oklch(31% 0.091 338)

Export this scale for Tailwind in the Tailwind colors tool

#4C1A40 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)#1C28410.096
Deuteranopia (no green cones)#2B303F0.085
Tritanopia (no blue cones)#501C2A0.043
Achromatopsia (no color)#2D2D2D0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1A40

    #4C1A40

    oklch(31% 0.091 338)

  • #003B22

    #003B22

    oklch(31% 0.072 158.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1A40

    #4C1A40

    oklch(31% 0.091 338)

  • #3D2153

    #3D2153

    oklch(31% 0.09 307.8)

  • #541727

    #541727

    oklch(31% 0.091 8.3)

Open the analogous palette in the generator

Split complementary

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

  • #4C1A40

    #4C1A40

    oklch(31% 0.091 338)

  • #243700

    #243700

    oklch(30.9% 0.081 127.9)

  • #003935

    #003935

    oklch(31% 0.054 187.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1A40

    #4C1A40

    oklch(31% 0.091 338)

  • #393000

    #393000

    oklch(31% 0.064 97.8)

  • #003743

    #003743

    oklch(31.1% 0.056 217.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1A40

    #4C1A40

    oklch(31% 0.091 338)

  • #462900

    #462900

    oklch(31% 0.068 69.2)

  • #003B22

    #003B22

    oklch(31% 0.072 158.3)

  • #003258

    #003258

    oklch(31% 0.084 248.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4C1A40 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.