#4F2A80

Closest named color: Dark Slate Blue (#483D8B). oklch(38.1% 0.139 299.5), rgb(79, 42, 128).

Aa

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

About this color

#4F2A80 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.139 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.048 away. White text reads best on it, at 10.63:1.

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

Values

HEX#4F2A80
RGBrgb(79, 42, 128)
HSLhsl(266, 51%, 33%)
OKLCHoklch(38.1% 0.139 299.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 #4F2A80 10.63:1 AAA Lc -98.2 Preferred for body text
Black text on #4F2A80 1.97:1 Fails Lc 9.8 Not readable
#4F2A80 text on white 10.63:1 AAA Lc 94.2 Preferred for body text
#4F2A80 text on black 1.97:1 Fails Lc -8.4 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

    #F7F4FE

    oklch(97.2% 0.014 299.8)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FB

    oklch(88.4% 0.059 299.3)

  4. Step 300

    300

    #CAB2FA

    oklch(80.9% 0.103 299.4)

  5. Step 400

    400

    #B185F8

    oklch(70.7% 0.167 299.8)

  6. Step 500

    500

    #9F61F5

    oklch(63.2% 0.213 299.6)

  7. Step 600

    600

    #8B41E3

    oklch(55.7% 0.23 299.6)

  8. Step 700

    700

    #7630C5

    oklch(49% 0.215 299.6)

  9. Step 800

    800

    #602AA0

    oklch(42.7% 0.179 299.6)

  10. Step 900

    900 (this color)

    #4F2A80

    oklch(38.1% 0.139 299.5)

  11. Step 950

    950

    #2D194A

    oklch(26.9% 0.088 299.2)

Export this scale for Tailwind in the Tailwind colors tool

#4F2A80 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)#003E830.099
Deuteranopia (no green cones)#003E7E0.100
Tritanopia (no blue cones)#443D510.104
Achromatopsia (no color)#3E3E3E0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F2A80

    #4F2A80

    oklch(38.1% 0.139 299.5)

  • #3D4900

    #3D4900

    oklch(38.1% 0.09 119.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F2A80

    #4F2A80

    oklch(38.1% 0.139 299.5)

  • #27388B

    #27388B

    oklch(38% 0.139 269.7)

  • #681D65

    #681D65

    oklch(38.1% 0.139 329.6)

Open the analogous palette in the generator

Split complementary

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

  • #4F2A80

    #4F2A80

    oklch(38.1% 0.139 299.5)

  • #534000

    #534000

    oklch(38.1% 0.078 89.6)

  • #005120

    #005120

    oklch(38% 0.106 149.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F2A80

    #4F2A80

    oklch(38.1% 0.139 299.5)

  • #643500

    #643500

    oklch(38.1% 0.089 60.2)

  • #004E44

    #004E44

    oklch(38% 0.069 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F2A80

    #4F2A80

    oklch(38.1% 0.139 299.5)

  • #7C150D

    #7C150D

    oklch(38.1% 0.139 29.6)

  • #3D4900

    #3D4900

    oklch(38.1% 0.09 119.8)

  • #004C56

    #004C56

    oklch(38.2% 0.066 209.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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