#4C1147

Closest named color: Deep Violet (#490648). oklch(30.3% 0.112 331.6), rgb(76, 17, 71).

Aa

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

About this color

#4C1147 is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.112 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.019 away. White text reads best on it, at 14.20:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.47:1
White text14.20:1

Values

HEX#4C1147
RGBrgb(76, 17, 71)
HSLhsl(305, 63%, 18%)
OKLCHoklch(30.3% 0.112 331.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 #4C1147 14.20:1 AAA Lc -103.3 Preferred for body text
Black text on #4C1147 1.47:1 Fails Lc 0.0 Not readable
#4C1147 text on white 14.20:1 AAA Lc 100.2 Preferred for body text
#4C1147 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

    #FDF1FB

    oklch(97% 0.018 331.1)

  2. Step 100

    100

    #FAE1F6

    oklch(93.6% 0.039 331.1)

  3. Step 200

    200

    #F7C8EF

    oklch(88.5% 0.073 332)

  4. Step 300

    300

    #F2A0E7

    oklch(80.9% 0.132 331.6)

  5. Step 400

    400

    #E864DB

    oklch(70.7% 0.212 331.5)

  6. Step 500

    500

    #DD20D0

    oklch(63% 0.27 331.6)

  7. Step 600

    600

    #BE00B3

    oklch(55.6% 0.251 331.5)

  8. Step 700

    700

    #A10097

    oklch(49.1% 0.222 331.7)

  9. Step 800

    800

    #85007D

    oklch(42.8% 0.193 331.6)

  10. Step 900

    900

    #700069

    oklch(37.8% 0.171 331.6)

  11. Step 950

    950 (this color)

    #4C1147

    oklch(30.3% 0.112 331.6)

Export this scale for Tailwind in the Tailwind colors tool

#4C1147 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)#0D25490.120
Deuteranopia (no green cones)#232E460.103
Tritanopia (no blue cones)#4F182A0.060
Achromatopsia (no color)#2B2B2B0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1147

    #4C1147

    oklch(30.3% 0.112 331.6)

  • #003918

    #003918

    oklch(30.2% 0.08 151.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1147

    #4C1147

    oklch(30.3% 0.112 331.6)

  • #3A1B5C

    #3A1B5C

    oklch(30.4% 0.111 302)

  • #57092A

    #57092A

    oklch(30.3% 0.111 2)

Open the analogous palette in the generator

Split complementary

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

  • #4C1147

    #4C1147

    oklch(30.3% 0.112 331.6)

  • #293400

    #293400

    oklch(30.4% 0.073 121.7)

  • #003730

    #003730

    oklch(30.2% 0.054 181.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1147

    #4C1147

    oklch(30.3% 0.112 331.6)

  • #3A2D00

    #3A2D00

    oklch(30.3% 0.062 91.5)

  • #00353E

    #00353E

    oklch(30.2% 0.053 212.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1147

    #4C1147

    oklch(30.3% 0.112 331.6)

  • #472500

    #472500

    oklch(30.3% 0.07 61.8)

  • #003918

    #003918

    oklch(30.2% 0.08 151.5)

  • #00324F

    #00324F

    oklch(30.3% 0.071 241.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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