#4F347F

Closest named color: Dark Slate Blue (#483D8B). oklch(39.6% 0.122 297.1), rgb(79, 52, 127).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.13:1
White text9.85:1

Values

HEX#4F347F
RGBrgb(79, 52, 127)
HSLhsl(262, 42%, 35%)
OKLCHoklch(39.6% 0.122 297.1)

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 #4F347F 9.85:1 AAA Lc -96.8 Preferred for body text
Black text on #4F347F 2.13:1 Fails Lc 11.4 Not readable
#4F347F text on white 9.85:1 AAA Lc 92.6 Preferred for body text
#4F347F text on black 2.13:1 Fails Lc -9.9 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

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C6B5F5

    oklch(81% 0.091 296.5)

  5. Step 400

    400

    #AB8BF0

    oklch(70.7% 0.146 297.1)

  6. Step 500

    500

    #986AEB

    oklch(63.2% 0.188 297.2)

  7. Step 600

    600

    #834DD9

    oklch(55.6% 0.204 297)

  8. Step 700

    700

    #6F3DBC

    oklch(49.1% 0.189 296.9)

  9. Step 800

    800

    #5A3398

    oklch(42.6% 0.157 296.9)

  10. Step 900

    900 (this color)

    #4F347F

    oklch(39.6% 0.122 297.1)

  11. Step 950

    950

    #2B1C47

    oklch(27% 0.078 297)

Export this scale for Tailwind in the Tailwind colors tool

#4F347F 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)#0E44810.086
Deuteranopia (no green cones)#19427D0.079
Tritanopia (no blue cones)#4444540.096
Achromatopsia (no color)#4343430.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F347F

    #4F347F

    oklch(39.6% 0.122 297.1)

  • #444C00

    #444C00

    oklch(39.6% 0.091 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F347F

    #4F347F

    oklch(39.6% 0.122 297.1)

  • #294087

    #294087

    oklch(39.5% 0.122 267.1)

  • #672968

    #672968

    oklch(39.5% 0.123 327)

Open the analogous palette in the generator

Split complementary

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

  • #4F347F

    #4F347F

    oklch(39.6% 0.122 297.1)

  • #594300

    #594300

    oklch(39.6% 0.081 87.3)

  • #00561B

    #00561B

    oklch(39.5% 0.117 147)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F347F

    #4F347F

    oklch(39.6% 0.122 297.1)

  • #6C3700

    #6C3700

    oklch(39.7% 0.096 57.4)

  • #005346

    #005346

    oklch(39.6% 0.073 177.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F347F

    #4F347F

    oklch(39.6% 0.122 297.1)

  • #7B241F

    #7B241F

    oklch(39.6% 0.122 27.4)

  • #444C00

    #444C00

    oklch(39.6% 0.091 116.4)

  • #005159

    #005159

    oklch(39.7% 0.068 206.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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