#4C1338

Closest named color: Deep Violet (#490648). oklch(29.7% 0.097 344.7), rgb(76, 19, 56).

Aa

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

About this color

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

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

Values

HEX#4C1338
RGBrgb(76, 19, 56)
HSLhsl(321, 60%, 19%)
OKLCHoklch(29.7% 0.097 344.7)

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

    #FEF2F8

    oklch(97.2% 0.015 345.5)

  2. Step 100

    100

    #FBE2EF

    oklch(93.7% 0.032 345)

  3. Step 200

    200

    #F9C9E3

    oklch(88.5% 0.064 344.7)

  4. Step 300

    300

    #F6A2D2

    oklch(80.9% 0.116 344.7)

  5. Step 400

    400

    #EC6ABB

    oklch(70.6% 0.183 344.5)

  6. Step 500

    500

    #E234AA

    oklch(63% 0.234 344.5)

  7. Step 600

    600

    #C80093

    oklch(55.6% 0.237 344.5)

  8. Step 700

    700

    #A9007B

    oklch(49% 0.209 344.8)

  9. Step 800

    800

    #8C0065

    oklch(42.7% 0.182 344.9)

  10. Step 900

    900

    #740954

    oklch(37.7% 0.153 344.8)

  11. Step 950

    950 (this color)

    #4C1338

    oklch(29.7% 0.097 344.7)

Export this scale for Tailwind in the Tailwind colors tool

#4C1338 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)#1924390.106
Deuteranopia (no green cones)#2A2D370.093
Tritanopia (no blue cones)#5112230.040
Achromatopsia (no color)#2A2A2A0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1338

    #4C1338

    oklch(29.7% 0.097 344.7)

  • #003725

    #003725

    oklch(29.8% 0.063 164.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1338

    #4C1338

    oklch(29.7% 0.097 344.7)

  • #3E1A4D

    #3E1A4D

    oklch(29.6% 0.096 314.7)

  • #53101D

    #53101D

    oklch(29.7% 0.097 14.7)

Open the analogous palette in the generator

Split complementary

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

  • #4C1338

    #4C1338

    oklch(29.7% 0.097 344.7)

  • #183600

    #183600

    oklch(29.8% 0.087 134.9)

  • #003535

    #003535

    oklch(29.8% 0.051 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1338

    #4C1338

    oklch(29.7% 0.097 344.7)

  • #322E00

    #322E00

    oklch(29.6% 0.063 104.4)

  • #003242

    #003242

    oklch(29.5% 0.056 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1338

    #4C1338

    oklch(29.7% 0.097 344.7)

  • #3F2700

    #3F2700

    oklch(29.6% 0.063 73.9)

  • #003725

    #003725

    oklch(29.8% 0.063 164.5)

  • #002C5B

    #002C5B

    oklch(29.6% 0.096 254.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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