#4A335A

Closest named color: Onyx (#343A40). oklch(36.5% 0.071 310.4), rgb(74, 51, 90).

Aa

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

About this color

#4A335A is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.071 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.069 away. White text reads best on it, at 10.98:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.91:1
White text10.98:1

Values

HEX#4A335A
RGBrgb(74, 51, 90)
HSLhsl(275, 28%, 28%)
OKLCHoklch(36.5% 0.071 310.4)

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 #4A335A 10.98:1 AAA Lc -99.2 Preferred for body text
Black text on #4A335A 1.91:1 Fails Lc 8.6 Not readable
#4A335A text on white 10.98:1 AAA Lc 95.3 Preferred for body text
#4A335A text on black 1.91:1 Fails Lc -7.3 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 900.

  1. Step 50

    50

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #DFD4E8

    oklch(88.5% 0.03 310.1)

  4. Step 300

    300

    #CBB8DB

    oklch(81% 0.053 309.5)

  5. Step 400

    400

    #B192C8

    oklch(70.7% 0.084 310.4)

  6. Step 500

    500

    #9E76BA

    oklch(63.1% 0.108 310.5)

  7. Step 600

    600

    #895EA6

    oklch(55.6% 0.117 310.6)

  8. Step 700

    700

    #744D8F

    oklch(49.1% 0.11 310.1)

  9. Step 800

    800

    #5E3F74

    oklch(42.6% 0.092 309.9)

  10. Step 900

    900 (this color)

    #4A335A

    oklch(36.5% 0.071 310.4)

  11. Step 950

    950

    #2D2037

    oklch(27% 0.045 309.5)

Export this scale for Tailwind in the Tailwind colors tool

#4A335A 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)#2B3B5B0.054
Deuteranopia (no green cones)#313D590.050
Tritanopia (no blue cones)#4839420.051
Achromatopsia (no color)#3C3C3C0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A335A

    #4A335A

    oklch(36.5% 0.071 310.4)

  • #31461B

    #31461B

    oklch(36.5% 0.072 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A335A

    #4A335A

    oklch(36.5% 0.071 310.4)

  • #383963

    #383963

    oklch(36.4% 0.072 281.2)

  • #572E4A

    #572E4A

    oklch(36.4% 0.072 340.1)

Open the analogous palette in the generator

Split complementary

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

  • #4A335A

    #4A335A

    oklch(36.5% 0.071 310.4)

  • #473F08

    #473F08

    oklch(36.5% 0.071 100.4)

  • #134A31

    #134A31

    oklch(36.6% 0.072 159.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A335A

    #4A335A

    oklch(36.5% 0.071 310.4)

  • #56370C

    #56370C

    oklch(36.5% 0.071 70.1)

  • #004946

    #004946

    oklch(36.6% 0.063 190.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A335A

    #4A335A

    oklch(36.5% 0.071 310.4)

  • #5D3020

    #5D3020

    oklch(36.4% 0.071 40.1)

  • #31461B

    #31461B

    oklch(36.5% 0.072 130.8)

  • #004657

    #004657

    oklch(36.5% 0.067 220.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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