#4C0F42

Closest named color: Deep Violet (#490648). oklch(29.8% 0.11 335.5), rgb(76, 15, 66).

Aa

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

About this color

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

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

Values

HEX#4C0F42
RGBrgb(76, 15, 66)
HSLhsl(310, 67%, 18%)
OKLCHoklch(29.8% 0.11 335.5)

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 #4C0F42 14.43:1 AAA Lc -103.5 Preferred for body text
Black text on #4C0F42 1.45:1 Fails Lc 0.0 Not readable
#4C0F42 text on white 14.43:1 AAA Lc 100.5 Preferred for body text
#4C0F42 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

    #FDF1FA

    oklch(97% 0.017 334.2)

  2. Step 100

    100

    #FBE1F4

    oklch(93.6% 0.038 335.3)

  3. Step 200

    200

    #F8C8EC

    oklch(88.5% 0.071 335.2)

  4. Step 300

    300

    #F59FE1

    oklch(80.8% 0.131 335.6)

  5. Step 400

    400

    #EC64D2

    oklch(70.8% 0.208 335.6)

  6. Step 500

    500

    #E11FC6

    oklch(63.1% 0.266 335.3)

  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)

    #4C0F42

    oklch(29.8% 0.11 335.5)

Export this scale for Tailwind in the Tailwind colors tool

#4C0F42 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)#0F24430.120
Deuteranopia (no green cones)#252D410.102
Tritanopia (no blue cones)#5014270.055
Achromatopsia (no color)#2A2A2A0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C0F42

    #4C0F42

    oklch(29.8% 0.11 335.5)

  • #00381D

    #00381D

    oklch(29.9% 0.073 155.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C0F42

    #4C0F42

    oklch(29.8% 0.11 335.5)

  • #3B1958

    #3B1958

    oklch(29.9% 0.11 305.5)

  • #560825

    #560825

    oklch(29.8% 0.11 5.8)

Open the analogous palette in the generator

Split complementary

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

  • #4C0F42

    #4C0F42

    oklch(29.8% 0.11 335.5)

  • #243300

    #243300

    oklch(29.7% 0.075 125.5)

  • #003631

    #003631

    oklch(29.9% 0.053 184.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C0F42

    #4C0F42

    oklch(29.8% 0.11 335.5)

  • #372D00

    #372D00

    oklch(29.9% 0.062 95.8)

  • #00343E

    #00343E

    oklch(29.9% 0.053 214.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C0F42

    #4C0F42

    oklch(29.8% 0.11 335.5)

  • #432500

    #432500

    oklch(29.7% 0.066 65.8)

  • #00381D

    #00381D

    oklch(29.9% 0.073 155.6)

  • #003050

    #003050

    oklch(29.9% 0.075 244.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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