#4A286D

Closest named color: Royal Purple (#4B006E). oklch(35.7% 0.117 303.8), rgb(74, 40, 109).

Aa

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

About this color

#4A286D is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.117 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.061 away. White text reads best on it, at 11.56:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.81:1
White text11.56:1

Values

HEX#4A286D
RGBrgb(74, 40, 109)
HSLhsl(270, 46%, 29%)
OKLCHoklch(35.7% 0.117 303.8)

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 #4A286D 11.56:1 AAA Lc -100.0 Preferred for body text
Black text on #4A286D 1.81:1 Fails Lc 7.6 Not readable
#4A286D text on white 11.56:1 AAA Lc 96.2 Preferred for body text
#4A286D text on black 1.81: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 900.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #E0D2F4

    oklch(88.6% 0.048 304.1)

  4. Step 300

    300

    #CCB3EF

    oklch(80.8% 0.087 303.5)

  5. Step 400

    400

    #B389E7

    oklch(70.7% 0.14 303.6)

  6. Step 500

    500

    #A168E0

    oklch(63.1% 0.179 303.6)

  7. Step 600

    600

    #8D4CCE

    oklch(55.7% 0.194 303.7)

  8. Step 700

    700

    #783CB2

    oklch(49.2% 0.18 303.8)

  9. Step 800

    800

    #613290

    oklch(42.6% 0.15 303.6)

  10. Step 900

    900 (this color)

    #4A286D

    oklch(35.7% 0.117 303.8)

  11. Step 950

    950

    #2E1B43

    oklch(26.9% 0.074 303.8)

Export this scale for Tailwind in the Tailwind colors tool

#4A286D 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)#05386F0.094
Deuteranopia (no green cones)#17396B0.085
Tritanopia (no blue cones)#4436460.086
Achromatopsia (no color)#3939390.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A286D

    #4A286D

    oklch(35.7% 0.117 303.8)

  • #334300

    #334300

    oklch(35.6% 0.088 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A286D

    #4A286D

    oklch(35.7% 0.117 303.8)

  • #2B3378

    #2B3378

    oklch(35.6% 0.117 273.9)

  • #5E1E55

    #5E1E55

    oklch(35.6% 0.117 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #4A286D

    #4A286D

    oklch(35.7% 0.117 303.8)

  • #493B00

    #493B00

    oklch(35.7% 0.073 93.9)

  • #004A25

    #004A25

    oklch(35.9% 0.091 153.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A286D

    #4A286D

    oklch(35.7% 0.117 303.8)

  • #593100

    #593100

    oklch(35.6% 0.081 63.3)

  • #004740

    #004740

    oklch(35.7% 0.063 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A286D

    #4A286D

    oklch(35.7% 0.117 303.8)

  • #6C1C0A

    #6C1C0A

    oklch(35.6% 0.116 33.8)

  • #334300

    #334300

    oklch(35.6% 0.088 123.6)

  • #004550

    #004550

    oklch(35.9% 0.063 212.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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