#4C1B3E

Closest named color: Deep Violet (#490648). oklch(31% 0.088 340.1), rgb(76, 27, 62).

Aa

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

About this color

#4C1B3E is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.088 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.046 away. White text reads best on it, at 13.69:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.53:1
White text13.69:1

Values

HEX#4C1B3E
RGBrgb(76, 27, 62)
HSLhsl(317, 48%, 20%)
OKLCHoklch(31% 0.088 340.1)

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 #4C1B3E 13.69:1 AAA Lc -103.0 Preferred for body text
Black text on #4C1B3E 1.53:1 Fails Lc 0.0 Not readable
#4C1B3E text on white 13.69:1 AAA Lc 99.8 Preferred for body text
#4C1B3E text on black 1.53: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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F9E2F0

    oklch(93.5% 0.031 340.6)

  3. Step 200

    200

    #F4CBE5

    oklch(88.5% 0.057 340)

  4. Step 300

    300

    #EEA6D6

    oklch(80.9% 0.104 339.7)

  5. Step 400

    400

    #E372C1

    oklch(70.7% 0.168 340)

  6. Step 500

    500

    #D745B1

    oklch(63.1% 0.213 339.9)

  7. Step 600

    600

    #C2159C

    oklch(55.5% 0.231 340.1)

  8. Step 700

    700

    #A70085

    oklch(49.1% 0.213 340.2)

  9. Step 800

    800

    #880B6C

    oklch(42.7% 0.178 340.4)

  10. Step 900

    900

    #6D1758

    oklch(37.6% 0.139 339.8)

  11. Step 950

    950 (this color)

    #4C1B3E

    oklch(31% 0.088 340.1)

Export this scale for Tailwind in the Tailwind colors tool

#4C1B3E 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)#1E283F0.093
Deuteranopia (no green cones)#2C303D0.082
Tritanopia (no blue cones)#511C290.041
Achromatopsia (no color)#2D2D2D0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1B3E

    #4C1B3E

    oklch(31% 0.088 340.1)

  • #003B24

    #003B24

    oklch(31.1% 0.07 160.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1B3E

    #4C1B3E

    oklch(31% 0.088 340.1)

  • #3E2151

    #3E2151

    oklch(31% 0.088 310.1)

  • #531926

    #531926

    oklch(31% 0.087 10.2)

Open the analogous palette in the generator

Split complementary

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

  • #4C1B3E

    #4C1B3E

    oklch(31% 0.088 340.1)

  • #223800

    #223800

    oklch(31% 0.083 129.8)

  • #003936

    #003936

    oklch(31.1% 0.054 189)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1B3E

    #4C1B3E

    oklch(31% 0.088 340.1)

  • #383100

    #383100

    oklch(31.1% 0.065 100.7)

  • #003744

    #003744

    oklch(31.1% 0.056 219.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1B3E

    #4C1B3E

    oklch(31% 0.088 340.1)

  • #462900

    #462900

    oklch(31% 0.068 69.2)

  • #003B24

    #003B24

    oklch(31.1% 0.07 160.2)

  • #00315B

    #00315B

    oklch(30.9% 0.089 250.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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