#4F1247

Closest named color: Deep Violet (#490648). oklch(30.9% 0.112 333.8), rgb(79, 18, 71).

Aa

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

About this color

#4F1247 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.112 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.025 away. White text reads best on it, at 13.90:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.50:1
White text13.90:1

Values

HEX#4F1247
RGBrgb(79, 18, 71)
HSLhsl(308, 63%, 19%)
OKLCHoklch(30.9% 0.112 333.8)

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 #4F1247 13.90:1 AAA Lc -103.0 Preferred for body text
Black text on #4F1247 1.50:1 Fails Lc 0.0 Not readable
#4F1247 text on white 13.90:1 AAA Lc 99.8 Preferred for body text
#4F1247 text on black 1.50: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 950.

  1. Step 50

    50

    #FDF1FA

    oklch(97% 0.017 334.2)

  2. Step 100

    100

    #FBE1F5

    oklch(93.7% 0.039 333.8)

  3. Step 200

    200

    #F8C8EE

    oklch(88.6% 0.073 333.5)

  4. Step 300

    300

    #F49FE4

    oklch(80.8% 0.133 333.8)

  5. Step 400

    400

    #EB63D7

    oklch(70.8% 0.213 333.7)

  6. Step 500

    500

    #E11ACB

    oklch(63.1% 0.272 333.9)

  7. Step 600

    600

    #C000AE

    oklch(55.6% 0.249 333.6)

  8. Step 700

    700

    #A20093

    oklch(49.1% 0.22 333.5)

  9. Step 800

    800

    #860079

    oklch(42.7% 0.191 333.6)

  10. Step 900

    900

    #710065

    oklch(37.7% 0.168 334.1)

  11. Step 950

    950 (this color)

    #4F1247

    oklch(30.9% 0.112 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#4F1247 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)#1027480.122
Deuteranopia (no green cones)#262F460.103
Tritanopia (no blue cones)#53172B0.056
Achromatopsia (no color)#2C2C2C0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F1247

    #4F1247

    oklch(30.9% 0.112 333.8)

  • #003B1C

    #003B1C

    oklch(30.9% 0.079 153.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F1247

    #4F1247

    oklch(30.9% 0.112 333.8)

  • #3D1C5D

    #3D1C5D

    oklch(31% 0.112 303.9)

  • #5A0A2A

    #5A0A2A

    oklch(30.9% 0.113 3.5)

Open the analogous palette in the generator

Split complementary

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

  • #4F1247

    #4F1247

    oklch(30.9% 0.112 333.8)

  • #283600

    #283600

    oklch(30.9% 0.077 124.1)

  • #003933

    #003933

    oklch(30.9% 0.055 183.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F1247

    #4F1247

    oklch(30.9% 0.112 333.8)

  • #3B2F00

    #3B2F00

    oklch(31% 0.063 93.5)

  • #003741

    #003741

    oklch(31% 0.054 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F1247

    #4F1247

    oklch(30.9% 0.112 333.8)

  • #482700

    #482700

    oklch(30.9% 0.07 64)

  • #003B1C

    #003B1C

    oklch(30.9% 0.079 153.4)

  • #003353

    #003353

    oklch(30.9% 0.076 243.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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