#4D1945

Closest named color: Deep Violet (#490648). oklch(31.3% 0.098 334.2), rgb(77, 25, 69).

Aa

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

About this color

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

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

Values

HEX#4D1945
RGBrgb(77, 25, 69)
HSLhsl(309, 51%, 20%)
OKLCHoklch(31.3% 0.098 334.2)

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 #4D1945 13.63:1 AAA Lc -102.8 Preferred for body text
Black text on #4D1945 1.54:1 Fails Lc 0.0 Not readable
#4D1945 text on white 13.63:1 AAA Lc 99.7 Preferred for body text
#4D1945 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

    #F9E2F3

    oklch(93.6% 0.034 334.9)

  3. Step 200

    200

    #F5CAEB

    oklch(88.6% 0.065 334.3)

  4. Step 300

    300

    #EFA4DF

    oklch(80.9% 0.116 334.6)

  5. Step 400

    400

    #E36DCF

    oklch(70.6% 0.186 334.2)

  6. Step 500

    500

    #D83AC3

    oklch(63.1% 0.238 334.1)

  7. Step 600

    600

    #C000AD

    oklch(55.6% 0.248 333.9)

  8. Step 700

    700

    #A30092

    oklch(49.2% 0.22 334.2)

  9. Step 800

    800

    #860078

    oklch(42.6% 0.19 334.1)

  10. Step 900

    900

    #6E0E62

    oklch(37.7% 0.156 334.3)

  11. Step 950

    950 (this color)

    #4D1945

    oklch(31.3% 0.098 334.2)

Export this scale for Tailwind in the Tailwind colors tool

#4D1945 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)#1829460.104
Deuteranopia (no green cones)#2931440.091
Tritanopia (no blue cones)#511D2C0.050
Achromatopsia (no color)#2E2E2E0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D1945

    #4D1945

    oklch(31.3% 0.098 334.2)

  • #003C1E

    #003C1E

    oklch(31.3% 0.078 154.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D1945

    #4D1945

    oklch(31.3% 0.098 334.2)

  • #3C2159

    #3C2159

    oklch(31.3% 0.098 303.4)

  • #57152B

    #57152B

    oklch(31.4% 0.098 4.6)

Open the analogous palette in the generator

Split complementary

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

  • #4D1945

    #4D1945

    oklch(31.3% 0.098 334.2)

  • #293700

    #293700

    oklch(31.3% 0.078 123.9)

  • #003A34

    #003A34

    oklch(31.3% 0.056 183.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D1945

    #4D1945

    oklch(31.3% 0.098 334.2)

  • #3C3000

    #3C3000

    oklch(31.3% 0.064 93.7)

  • #003842

    #003842

    oklch(31.3% 0.055 213.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D1945

    #4D1945

    oklch(31.3% 0.098 334.2)

  • #492800

    #492800

    oklch(31.3% 0.07 64.5)

  • #003C1E

    #003C1E

    oklch(31.3% 0.078 154.5)

  • #003455

    #003455

    oklch(31.3% 0.077 244)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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