#4F276E

Closest named color: Royal Purple (#4B006E). oklch(36.3% 0.121 307.4), rgb(79, 39, 110).

Aa

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

About this color

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

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

Values

HEX#4F276E
RGBrgb(79, 39, 110)
HSLhsl(274, 48%, 29%)
OKLCHoklch(36.3% 0.121 307.4)

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 #4F276E 11.36:1 AAA Lc -99.6 Preferred for body text
Black text on #4F276E 1.84:1 Fails Lc 8.1 Not readable
#4F276E text on white 11.36:1 AAA Lc 95.8 Preferred for body text
#4F276E text on black 1.84: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E2D1F4

    oklch(88.5% 0.051 307.2)

  4. Step 300

    300

    #D0B1EF

    oklch(80.8% 0.092 307.2)

  5. Step 400

    400

    #B986E6

    oklch(70.7% 0.145 307.5)

  6. Step 500

    500

    #A864DF

    oklch(63.2% 0.186 307.4)

  7. Step 600

    600

    #9347CC

    oklch(55.6% 0.201 307.3)

  8. Step 700

    700

    #7D37B1

    oklch(49.1% 0.187 307.1)

  9. Step 800

    800

    #662F8F

    oklch(42.8% 0.155 307.4)

  10. Step 900

    900 (this color)

    #4F276E

    oklch(36.3% 0.121 307.4)

  11. Step 950

    950

    #301A43

    oklch(26.9% 0.077 306.7)

Export this scale for Tailwind in the Tailwind colors tool

#4F276E 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)#0439700.104
Deuteranopia (no green cones)#1A3A6C0.092
Tritanopia (no blue cones)#4A35460.086
Achromatopsia (no color)#3A3A3A0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F276E

    #4F276E

    oklch(36.3% 0.121 307.4)

  • #304600

    #304600

    oklch(36.2% 0.094 127.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F276E

    #4F276E

    oklch(36.3% 0.121 307.4)

  • #31337B

    #31337B

    oklch(36.3% 0.12 277.4)

  • #631D54

    #631D54

    oklch(36.3% 0.121 337.4)

Open the analogous palette in the generator

Split complementary

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

  • #4F276E

    #4F276E

    oklch(36.3% 0.121 307.4)

  • #493D00

    #493D00

    oklch(36.2% 0.075 96.6)

  • #004B2B

    #004B2B

    oklch(36.3% 0.086 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F276E

    #4F276E

    oklch(36.3% 0.121 307.4)

  • #593400

    #593400

    oklch(36.2% 0.08 67.3)

  • #004844

    #004844

    oklch(36.2% 0.063 188.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F276E

    #4F276E

    oklch(36.3% 0.121 307.4)

  • #6F1D00

    #6F1D00

    oklch(36.3% 0.12 37.3)

  • #304600

    #304600

    oklch(36.2% 0.094 127.2)

  • #004654

    #004654

    oklch(36.3% 0.065 216.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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