#4C1242

Closest named color: Deep Violet (#490648). oklch(30.1% 0.106 335.6), rgb(76, 18, 66).

Aa

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

About this color

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

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

Values

HEX#4C1242
RGBrgb(76, 18, 66)
HSLhsl(310, 62%, 18%)
OKLCHoklch(30.1% 0.106 335.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 #4C1242 14.26:1 AAA Lc -103.4 Preferred for body text
Black text on #4C1242 1.47:1 Fails Lc 0.0 Not readable
#4C1242 text on white 14.26:1 AAA Lc 100.3 Preferred for body text
#4C1242 text on black 1.47: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

    #FDF1FA

    oklch(97% 0.017 334.2)

  2. Step 100

    100

    #FAE1F3

    oklch(93.5% 0.036 335.7)

  3. Step 200

    200

    #F7C8EB

    oklch(88.4% 0.07 335.4)

  4. Step 300

    300

    #F3A1E0

    oklch(80.9% 0.125 335.5)

  5. Step 400

    400

    #E967D0

    oklch(70.7% 0.2 335.5)

  6. Step 500

    500

    #DF2AC3

    oklch(63.1% 0.256 335.8)

  7. Step 600

    600

    #C200A9

    oklch(55.7% 0.247 335.7)

  8. Step 700

    700

    #A4008F

    oklch(49.2% 0.218 335.6)

  9. Step 800

    800

    #870076

    oklch(42.7% 0.19 335.3)

  10. Step 900

    900

    #720063

    oklch(37.8% 0.168 335.5)

  11. Step 950

    950 (this color)

    #4C1242

    oklch(30.1% 0.106 335.6)

Export this scale for Tailwind in the Tailwind colors tool

#4C1242 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)#1225430.115
Deuteranopia (no green cones)#262E410.099
Tritanopia (no blue cones)#5016280.052
Achromatopsia (no color)#2A2A2A0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1242

    #4C1242

    oklch(30.1% 0.106 335.6)

  • #00381D

    #00381D

    oklch(29.9% 0.073 155.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1242

    #4C1242

    oklch(30.1% 0.106 335.6)

  • #3B1B57

    #3B1B57

    oklch(30.1% 0.105 305.5)

  • #560C26

    #560C26

    oklch(30.2% 0.106 5.9)

Open the analogous palette in the generator

Split complementary

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

  • #4C1242

    #4C1242

    oklch(30.1% 0.106 335.6)

  • #253400

    #253400

    oklch(30% 0.076 125.3)

  • #003632

    #003632

    oklch(30% 0.052 186.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1242

    #4C1242

    oklch(30.1% 0.106 335.6)

  • #382D00

    #382D00

    oklch(30.1% 0.062 94.3)

  • #00343F

    #00343F

    oklch(30% 0.053 216.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1242

    #4C1242

    oklch(30.1% 0.106 335.6)

  • #442600

    #442600

    oklch(30.1% 0.067 66.4)

  • #00381D

    #00381D

    oklch(29.9% 0.073 155.6)

  • #003052

    #003052

    oklch(30% 0.078 246.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #4C1242.

Similar named colors

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

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