#4A1A42

Closest named color: Deep Violet (#490648). oklch(30.8% 0.092 334.5), rgb(74, 26, 66).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.51:1
White text13.83:1

Values

HEX#4A1A42
RGBrgb(74, 26, 66)
HSLhsl(310, 48%, 20%)
OKLCHoklch(30.8% 0.092 334.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 #4A1A42 13.83:1 AAA Lc -103.1 Preferred for body text
Black text on #4A1A42 1.51:1 Fails Lc 0.0 Not readable
#4A1A42 text on white 13.83:1 AAA Lc 100.0 Preferred for body text
#4A1A42 text on black 1.51: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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E2F2

    oklch(93.5% 0.032 335.4)

  3. Step 200

    200

    #F3CBE9

    oklch(88.5% 0.06 335)

  4. Step 300

    300

    #ECA6DD

    oklch(80.9% 0.108 334.5)

  5. Step 400

    400

    #E072CC

    oklch(70.8% 0.174 334.5)

  6. Step 500

    500

    #D444BE

    oklch(63.1% 0.221 334.6)

  7. Step 600

    600

    #BF10AA

    oklch(55.6% 0.241 334.6)

  8. Step 700

    700

    #A30091

    oklch(49.1% 0.219 334.5)

  9. Step 800

    800

    #850776

    oklch(42.6% 0.185 334.6)

  10. Step 900

    900

    #6C1660

    oklch(37.8% 0.145 334.5)

  11. Step 950

    950 (this color)

    #4A1A42

    oklch(30.8% 0.092 334.5)

Export this scale for Tailwind in the Tailwind colors tool

#4A1A42 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)#1A28430.095
Deuteranopia (no green cones)#282F410.084
Tritanopia (no blue cones)#4E1D2B0.046
Achromatopsia (no color)#2D2D2D0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A1A42

    #4A1A42

    oklch(30.8% 0.092 334.5)

  • #003B1D

    #003B1D

    oklch(30.9% 0.078 154.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A1A42

    #4A1A42

    oklch(30.8% 0.092 334.5)

  • #3A2154

    #3A2154

    oklch(30.7% 0.091 304.2)

  • #53162A

    #53162A

    oklch(30.7% 0.092 4.3)

Open the analogous palette in the generator

Split complementary

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

  • #4A1A42

    #4A1A42

    oklch(30.8% 0.092 334.5)

  • #273600

    #273600

    oklch(30.8% 0.077 124.9)

  • #003833

    #003833

    oklch(30.6% 0.054 185.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A1A42

    #4A1A42

    oklch(30.8% 0.092 334.5)

  • #3A2F00

    #3A2F00

    oklch(30.8% 0.063 94.9)

  • #003641

    #003641

    oklch(30.7% 0.055 216.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A1A42

    #4A1A42

    oklch(30.8% 0.092 334.5)

  • #472700

    #472700

    oklch(30.8% 0.069 64.9)

  • #003B1D

    #003B1D

    oklch(30.9% 0.078 154.2)

  • #003253

    #003253

    oklch(30.6% 0.077 244.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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