#4C1239

Closest named color: Deep Violet (#490648). oklch(29.6% 0.099 343.6), rgb(76, 18, 57).

Aa

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

About this color

#4C1239 is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.099 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.038 away. White text reads best on it, at 14.45:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.45:1
White text14.45:1

Values

HEX#4C1239
RGBrgb(76, 18, 57)
HSLhsl(320, 62%, 18%)
OKLCHoklch(29.6% 0.099 343.6)

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 #4C1239 14.45:1 AAA Lc -103.6 Preferred for body text
Black text on #4C1239 1.45:1 Fails Lc 0.0 Not readable
#4C1239 text on white 14.45:1 AAA Lc 100.6 Preferred for body text
#4C1239 text on black 1.45: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

    #FEF1F8

    oklch(97% 0.017 343.6)

  2. Step 100

    100

    #FBE1F0

    oklch(93.5% 0.034 342.2)

  3. Step 200

    200

    #F9C9E4

    oklch(88.5% 0.064 343.7)

  4. Step 300

    300

    #F6A2D4

    oklch(81% 0.117 343.5)

  5. Step 400

    400

    #ED69BE

    oklch(70.7% 0.188 343.5)

  6. Step 500

    500

    #E331AD

    oklch(63.1% 0.239 343.7)

  7. Step 600

    600

    #C80095

    oklch(55.7% 0.238 343.8)

  8. Step 700

    700

    #A9007E

    oklch(49.1% 0.21 343.6)

  9. Step 800

    800

    #8C0067

    oklch(42.8% 0.183 344)

  10. Step 900

    900

    #740656

    oklch(37.7% 0.156 343.5)

  11. Step 950

    950 (this color)

    #4C1239

    oklch(29.6% 0.099 343.6)

Export this scale for Tailwind in the Tailwind colors tool

#4C1239 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)#18233A0.108
Deuteranopia (no green cones)#292D380.095
Tritanopia (no blue cones)#5112230.043
Achromatopsia (no color)#2929290.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1239

    #4C1239

    oklch(29.6% 0.099 343.6)

  • #003624

    #003624

    oklch(29.5% 0.063 164.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1239

    #4C1239

    oklch(29.6% 0.099 343.6)

  • #3E194F

    #3E194F

    oklch(29.6% 0.1 313.6)

  • #530F1E

    #530F1E

    oklch(29.6% 0.099 13.3)

Open the analogous palette in the generator

Split complementary

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

  • #4C1239

    #4C1239

    oklch(29.6% 0.099 343.6)

  • #1A3500

    #1A3500

    oklch(29.6% 0.084 133.5)

  • #003534

    #003534

    oklch(29.7% 0.051 192.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1239

    #4C1239

    oklch(29.6% 0.099 343.6)

  • #322E00

    #322E00

    oklch(29.6% 0.063 104.4)

  • #003241

    #003241

    oklch(29.5% 0.056 224.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1239

    #4C1239

    oklch(29.6% 0.099 343.6)

  • #3F2700

    #3F2700

    oklch(29.6% 0.063 73.9)

  • #003624

    #003624

    oklch(29.5% 0.063 164.2)

  • #002C59

    #002C59

    oklch(29.5% 0.093 253.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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