#4D1845

Closest named color: Deep Violet (#490648). oklch(31.2% 0.1 334.1), rgb(77, 24, 69).

Aa

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

About this color

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

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

Values

HEX#4D1845
RGBrgb(77, 24, 69)
HSLhsl(309, 52%, 20%)
OKLCHoklch(31.2% 0.1 334.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 #4D1845 13.70:1 AAA Lc -102.9 Preferred for body text
Black text on #4D1845 1.53:1 Fails Lc 0.0 Not readable
#4D1845 text on white 13.70:1 AAA Lc 99.7 Preferred for body text
#4D1845 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

    #FDF2FA

    oklch(97.2% 0.016 335.1)

  2. Step 100

    100

    #F9E2F3

    oklch(93.6% 0.034 334.9)

  3. Step 200

    200

    #F5C9EB

    oklch(88.4% 0.066 334.2)

  4. Step 300

    300

    #EFA3E0

    oklch(80.8% 0.119 333.9)

  5. Step 400

    400

    #E46CD0

    oklch(70.7% 0.189 334.1)

  6. Step 500

    500

    #D937C4

    oklch(63.1% 0.243 334)

  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

    #6F0C63

    oklch(37.8% 0.158 334.2)

  11. Step 950

    950 (this color)

    #4D1845

    oklch(31.2% 0.1 334.1)

Export this scale for Tailwind in the Tailwind colors tool

#4D1845 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)#1728460.106
Deuteranopia (no green cones)#2830440.092
Tritanopia (no blue cones)#511C2C0.050
Achromatopsia (no color)#2D2D2D0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D1845

    #4D1845

    oklch(31.2% 0.1 334.1)

  • #003C1D

    #003C1D

    oklch(31.2% 0.079 153.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D1845

    #4D1845

    oklch(31.2% 0.1 334.1)

  • #3C2059

    #3C2059

    oklch(31.2% 0.1 303.8)

  • #57132B

    #57132B

    oklch(31.2% 0.101 3.8)

Open the analogous palette in the generator

Split complementary

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

  • #4D1845

    #4D1845

    oklch(31.2% 0.1 334.1)

  • #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.

  • #4D1845

    #4D1845

    oklch(31.2% 0.1 334.1)

  • #3B3000

    #3B3000

    oklch(31.2% 0.064 95.1)

  • #003842

    #003842

    oklch(31.3% 0.055 213.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D1845

    #4D1845

    oklch(31.2% 0.1 334.1)

  • #492800

    #492800

    oklch(31.3% 0.07 64.5)

  • #003C1D

    #003C1D

    oklch(31.2% 0.079 153.7)

  • #003454

    #003454

    oklch(31.2% 0.076 243.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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