#4F287F

Closest named color: Dark Slate Blue (#483D8B). oklch(37.7% 0.14 300.3), rgb(79, 40, 127).

Aa

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

About this color

#4F287F is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.140 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.052 away. White text reads best on it, at 10.81:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.140)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.94:1
White text10.81:1

Values

HEX#4F287F
RGBrgb(79, 40, 127)
HSLhsl(267, 52%, 33%)
OKLCHoklch(37.7% 0.14 300.3)

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 #4F287F 10.81:1 AAA Lc -98.5 Preferred for body text
Black text on #4F287F 1.94:1 Fails Lc 9.4 Not readable
#4F287F text on white 10.81:1 AAA Lc 94.5 Preferred for body text
#4F287F text on black 1.94:1 Fails Lc -8.1 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FC

    oklch(93.7% 0.03 300.3)

  3. Step 200

    200

    #DFD1FB

    oklch(88.5% 0.059 300.4)

  4. Step 300

    300

    #CBB1FB

    oklch(80.9% 0.106 300.2)

  5. Step 400

    400

    #B284F8

    oklch(70.6% 0.169 300.4)

  6. Step 500

    500

    #A060F5

    oklch(63.1% 0.215 300.1)

  7. Step 600

    600

    #8C3FE4

    oklch(55.6% 0.234 300)

  8. Step 700

    700

    #782EC6

    oklch(49.2% 0.218 300.4)

  9. Step 800

    800

    #6129A0

    oklch(42.7% 0.18 300.2)

  10. Step 900

    900 (this color)

    #4F287F

    oklch(37.7% 0.14 300.3)

  11. Step 950

    950

    #2E194A

    oklch(27% 0.088 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#4F287F 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)#003D820.101
Deuteranopia (no green cones)#003D7D0.102
Tritanopia (no blue cones)#443C500.105
Achromatopsia (no color)#3D3D3D0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F287F

    #4F287F

    oklch(37.7% 0.14 300.3)

  • #3C4800

    #3C4800

    oklch(37.7% 0.09 119.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F287F

    #4F287F

    oklch(37.7% 0.14 300.3)

  • #27378B

    #27378B

    oklch(37.8% 0.14 270.1)

  • #681B64

    #681B64

    oklch(37.8% 0.14 330.2)

Open the analogous palette in the generator

Split complementary

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

  • #4F287F

    #4F287F

    oklch(37.7% 0.14 300.3)

  • #513F00

    #513F00

    oklch(37.6% 0.077 90.4)

  • #005022

    #005022

    oklch(37.7% 0.103 150.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F287F

    #4F287F

    oklch(37.7% 0.14 300.3)

  • #633400

    #633400

    oklch(37.8% 0.089 59.7)

  • #004D43

    #004D43

    oklch(37.7% 0.068 180.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F287F

    #4F287F

    oklch(37.7% 0.14 300.3)

  • #7B1208

    #7B1208

    oklch(37.6% 0.14 30.2)

  • #3C4800

    #3C4800

    oklch(37.7% 0.09 119.9)

  • #004B55

    #004B55

    oklch(37.8% 0.065 210)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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