#4D1947

Closest named color: Deep Violet (#490648). oklch(31.4% 0.1 332.5), rgb(77, 25, 71).

Aa

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

About this color

#4D1947 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.100 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.035 away. White text reads best on it, at 13.58:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.54:1
White text13.58:1

Values

HEX#4D1947
RGBrgb(77, 25, 71)
HSLhsl(307, 51%, 20%)
OKLCHoklch(31.4% 0.1 332.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 #4D1947 13.58:1 AAA Lc -102.8 Preferred for body text
Black text on #4D1947 1.54:1 Fails Lc 0.0 Not readable
#4D1947 text on white 13.58:1 AAA Lc 99.6 Preferred for body text
#4D1947 text on black 1.54: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

    #FCF2FA

    oklch(97.1% 0.015 332.2)

  2. Step 100

    100

    #F9E2F4

    oklch(93.7% 0.034 333.2)

  3. Step 200

    200

    #F4CAEC

    oklch(88.5% 0.065 332.7)

  4. Step 300

    300

    #EEA4E2

    oklch(80.9% 0.118 332.5)

  5. Step 400

    400

    #E26DD3

    oklch(70.7% 0.189 332.5)

  6. Step 500

    500

    #D738C7

    oklch(63% 0.243 332.6)

  7. Step 600

    600

    #BF00B1

    oklch(55.6% 0.25 332.4)

  8. Step 700

    700

    #A10095

    oklch(49% 0.221 332.4)

  9. Step 800

    800

    #85007B

    oklch(42.6% 0.192 332.4)

  10. Step 900

    900

    #6D0D65

    oklch(37.6% 0.158 332.2)

  11. Step 950

    950 (this color)

    #4D1947

    oklch(31.4% 0.1 332.5)

Export this scale for Tailwind in the Tailwind colors tool

#4D1947 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)#1729480.105
Deuteranopia (no green cones)#2831460.092
Tritanopia (no blue cones)#501D2D0.052
Achromatopsia (no color)#2E2E2E0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D1947

    #4D1947

    oklch(31.4% 0.1 332.5)

  • #003D1B

    #003D1B

    oklch(31.5% 0.083 152)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D1947

    #4D1947

    oklch(31.4% 0.1 332.5)

  • #3C215A

    #3C215A

    oklch(31.4% 0.1 302.9)

  • #57142D

    #57142D

    oklch(31.4% 0.1 2.2)

Open the analogous palette in the generator

Split complementary

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

  • #4D1947

    #4D1947

    oklch(31.4% 0.1 332.5)

  • #2B3700

    #2B3700

    oklch(31.4% 0.076 122.1)

  • #003A34

    #003A34

    oklch(31.3% 0.056 183.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D1947

    #4D1947

    oklch(31.4% 0.1 332.5)

  • #3D3000

    #3D3000

    oklch(31.5% 0.064 92.4)

  • #003842

    #003842

    oklch(31.3% 0.055 213.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D1947

    #4D1947

    oklch(31.4% 0.1 332.5)

  • #4A2700

    #4A2700

    oklch(31.2% 0.072 62.1)

  • #003D1B

    #003D1B

    oklch(31.5% 0.083 152)

  • #003554

    #003554

    oklch(31.5% 0.075 242.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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