#4A1B48

Closest named color: Deep Violet (#490648). oklch(31.3% 0.096 329.2), rgb(74, 27, 72).

Aa

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

About this color

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

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

Values

HEX#4A1B48
RGBrgb(74, 27, 72)
HSLhsl(303, 47%, 20%)
OKLCHoklch(31.3% 0.096 329.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 #4A1B48 13.62:1 AAA Lc -102.9 Preferred for body text
Black text on #4A1B48 1.54:1 Fails Lc 0.0 Not readable
#4A1B48 text on white 13.62:1 AAA Lc 99.7 Preferred for body text
#4A1B48 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

    #F7E2F5

    oklch(93.5% 0.034 328.8)

  3. Step 200

    200

    #F1CBEE

    oklch(88.5% 0.063 328.6)

  4. Step 300

    300

    #EAA6E4

    oklch(80.9% 0.113 329.6)

  5. Step 400

    400

    #DC71D7

    oklch(70.6% 0.182 329)

  6. Step 500

    500

    #D042CC

    oklch(63.1% 0.232 329.1)

  7. Step 600

    600

    #BB07B8

    oklch(55.5% 0.251 329.2)

  8. Step 700

    700

    #9F009C

    oklch(49.1% 0.225 329.4)

  9. Step 800

    800

    #830381

    oklch(42.8% 0.194 329.1)

  10. Step 900

    900

    #691567

    oklch(37.6% 0.15 329.1)

  11. Step 950

    950 (this color)

    #4A1B48

    oklch(31.3% 0.096 329.2)

Export this scale for Tailwind in the Tailwind colors tool

#4A1B48 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)#172A490.098
Deuteranopia (no green cones)#2630470.085
Tritanopia (no blue cones)#4D202E0.053
Achromatopsia (no color)#2E2E2E0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A1B48

    #4A1B48

    oklch(31.3% 0.096 329.2)

  • #003C16

    #003C16

    oklch(31.1% 0.087 149.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A1B48

    #4A1B48

    oklch(31.3% 0.096 329.2)

  • #39235A

    #39235A

    oklch(31.4% 0.096 299.3)

  • #551630

    #551630

    oklch(31.3% 0.096 359)

Open the analogous palette in the generator

Split complementary

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

  • #4A1B48

    #4A1B48

    oklch(31.3% 0.096 329.2)

  • #2D3600

    #2D3600

    oklch(31.3% 0.074 119.4)

  • #003A32

    #003A32

    oklch(31.2% 0.057 180.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A1B48

    #4A1B48

    oklch(31.3% 0.096 329.2)

  • #3E2F00

    #3E2F00

    oklch(31.3% 0.064 89.4)

  • #003840

    #003840

    oklch(31.2% 0.054 210.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A1B48

    #4A1B48

    oklch(31.3% 0.096 329.2)

  • #4B2600

    #4B2600

    oklch(31.2% 0.073 59.8)

  • #003C16

    #003C16

    oklch(31.1% 0.087 149.5)

  • #003551

    #003551

    oklch(31.3% 0.071 239.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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