#4D2B7B

Closest named color: Dark Slate Blue (#483D8B). oklch(37.6% 0.131 299.7), rgb(77, 43, 123).

Aa

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

About this color

#4D2B7B is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.131 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.049 away. White text reads best on it, at 10.78:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.94:1
White text10.78:1

Values

HEX#4D2B7B
RGBrgb(77, 43, 123)
HSLhsl(266, 48%, 33%)
OKLCHoklch(37.6% 0.131 299.7)

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 #4D2B7B 10.78:1 AAA Lc -98.5 Preferred for body text
Black text on #4D2B7B 1.94:1 Fails Lc 9.4 Not readable
#4D2B7B text on white 10.78:1 AAA Lc 94.6 Preferred for body text
#4D2B7B text on black 1.94:1 Fails Lc -8.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DED2F9

    oklch(88.6% 0.054 299.3)

  4. Step 300

    300

    #CAB3F7

    oklch(81% 0.097 299.7)

  5. Step 400

    400

    #B087F3

    oklch(70.6% 0.157 299.9)

  6. Step 500

    500

    #9D65EE

    oklch(63.1% 0.199 299.5)

  7. Step 600

    600

    #8946DD

    oklch(55.6% 0.218 299.5)

  8. Step 700

    700

    #7536C0

    oklch(49.2% 0.203 299.7)

  9. Step 800

    800

    #5F2E9B

    oklch(42.7% 0.168 299.8)

  10. Step 900

    900 (this color)

    #4D2B7B

    oklch(37.6% 0.131 299.7)

  11. Step 950

    950

    #2D1A48

    oklch(26.9% 0.083 299.9)

Export this scale for Tailwind in the Tailwind colors tool

#4D2B7B 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)#003D7E0.096
Deuteranopia (no green cones)#0A3D790.093
Tritanopia (no blue cones)#433C4F0.097
Achromatopsia (no color)#3D3D3D0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D2B7B

    #4D2B7B

    oklch(37.6% 0.131 299.7)

  • #3C4800

    #3C4800

    oklch(37.7% 0.09 119.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D2B7B

    #4D2B7B

    oklch(37.6% 0.131 299.7)

  • #273885

    #273885

    oklch(37.5% 0.13 269.6)

  • #651F62

    #651F62

    oklch(37.6% 0.131 329.6)

Open the analogous palette in the generator

Split complementary

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

  • #4D2B7B

    #4D2B7B

    oklch(37.6% 0.131 299.7)

  • #513F00

    #513F00

    oklch(37.6% 0.077 90.4)

  • #005020

    #005020

    oklch(37.7% 0.105 149.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D2B7B

    #4D2B7B

    oklch(37.6% 0.131 299.7)

  • #633400

    #633400

    oklch(37.8% 0.089 59.7)

  • #004D42

    #004D42

    oklch(37.6% 0.069 179)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D2B7B

    #4D2B7B

    oklch(37.6% 0.131 299.7)

  • #781910

    #781910

    oklch(37.7% 0.131 29.8)

  • #3C4800

    #3C4800

    oklch(37.7% 0.09 119.9)

  • #004A54

    #004A54

    oklch(37.5% 0.065 210.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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