#4D1242

Closest named color: Deep Violet (#490648). oklch(30.3% 0.107 336.3), rgb(77, 18, 66).

Aa

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

About this color

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

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

Values

HEX#4D1242
RGBrgb(77, 18, 66)
HSLhsl(311, 62%, 19%)
OKLCHoklch(30.3% 0.107 336.3)

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 #4D1242 14.18:1 AAA Lc -103.3 Preferred for body text
Black text on #4D1242 1.48:1 Fails Lc 0.0 Not readable
#4D1242 text on white 14.18:1 AAA Lc 100.2 Preferred for body text
#4D1242 text on black 1.48: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

    #FBE1F3

    oklch(93.6% 0.037 336.9)

  3. Step 200

    200

    #F8C8EB

    oklch(88.5% 0.071 336)

  4. Step 300

    300

    #F4A0DF

    oklch(80.8% 0.127 336.3)

  5. Step 400

    400

    #EA66CF

    oklch(70.7% 0.202 336.1)

  6. Step 500

    500

    #E027C2

    oklch(63.1% 0.258 336.3)

  7. Step 600

    600

    #C200A7

    oklch(55.6% 0.245 336.3)

  8. Step 700

    700

    #A4008D

    oklch(49.1% 0.217 336.3)

  9. Step 800

    800

    #880074

    oklch(42.7% 0.189 336.6)

  10. Step 900

    900

    #720061

    oklch(37.7% 0.166 336.5)

  11. Step 950

    950 (this color)

    #4D1242

    oklch(30.3% 0.107 336.3)

Export this scale for Tailwind in the Tailwind colors tool

#4D1242 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)#1325430.115
Deuteranopia (no green cones)#272E410.099
Tritanopia (no blue cones)#5116280.052
Achromatopsia (no color)#2B2B2B0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D1242

    #4D1242

    oklch(30.3% 0.107 336.3)

  • #00391E

    #00391E

    oklch(30.3% 0.074 155.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D1242

    #4D1242

    oklch(30.3% 0.107 336.3)

  • #3C1B58

    #3C1B58

    oklch(30.3% 0.107 305.8)

  • #570C26

    #570C26

    oklch(30.4% 0.107 6.3)

Open the analogous palette in the generator

Split complementary

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

  • #4D1242

    #4D1242

    oklch(30.3% 0.107 336.3)

  • #243500

    #243500

    oklch(30.3% 0.078 126.7)

  • #003733

    #003733

    oklch(30.3% 0.053 186.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D1242

    #4D1242

    oklch(30.3% 0.107 336.3)

  • #382E00

    #382E00

    oklch(30.3% 0.062 96)

  • #003540

    #003540

    oklch(30.3% 0.054 216.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D1242

    #4D1242

    oklch(30.3% 0.107 336.3)

  • #452600

    #452600

    oklch(30.2% 0.068 65.3)

  • #00391E

    #00391E

    oklch(30.3% 0.074 155.9)

  • #003153

    #003153

    oklch(30.4% 0.078 245.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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