#47175F

Closest named color: Royal Purple (#4B006E). oklch(31.9% 0.125 311.9), rgb(71, 23, 95).

Aa

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

About this color

#47175F is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.125 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.037 away. White text reads best on it, at 13.49:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.55:1
White text13.49:1

Values

HEX#47175F
RGBrgb(71, 23, 95)
HSLhsl(280, 61%, 23%)
OKLCHoklch(31.9% 0.125 311.9)

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 #47175F 13.49:1 AAA Lc -102.6 Preferred for body text
Black text on #47175F 1.55:1 Fails Lc 0.0 Not readable
#47175F text on white 13.49:1 AAA Lc 99.3 Preferred for body text
#47175F text on black 1.55: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

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F3E2FF

    oklch(93.5% 0.043 311.5)

  3. Step 200

    200

    #EACBFF

    oklch(88.5% 0.078 311.5)

  4. Step 300

    300

    #DDA7FF

    oklch(80.9% 0.133 311.7)

  5. Step 400

    400

    #CC70FF

    oklch(70.7% 0.214 311.8)

  6. Step 500

    500

    #C036FF

    oklch(63.2% 0.279 312)

  7. Step 600

    600

    #A700E4

    oklch(55.5% 0.278 311.9)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #7400A0

    oklch(42.6% 0.213 311.8)

  10. Step 900

    900

    #620087

    oklch(37.7% 0.189 312.2)

  11. Step 950

    950 (this color)

    #47175F

    oklch(31.9% 0.125 311.9)

Export this scale for Tailwind in the Tailwind colors tool

#47175F 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)#002C610.110
Deuteranopia (no green cones)#0E2F5D0.103
Tritanopia (no blue cones)#4427390.085
Achromatopsia (no color)#2E2E2E0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #47175F

    #47175F

    oklch(31.9% 0.125 311.9)

  • #213B00

    #213B00

    oklch(31.9% 0.088 131.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #47175F

    #47175F

    oklch(31.9% 0.125 311.9)

  • #2C236F

    #2C236F

    oklch(31.8% 0.126 281.9)

  • #590A44

    #590A44

    oklch(31.9% 0.125 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #47175F

    #47175F

    oklch(31.9% 0.125 311.9)

  • #393300

    #393300

    oklch(31.7% 0.067 102.3)

  • #003D27

    #003D27

    oklch(31.8% 0.07 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #47175F

    #47175F

    oklch(31.9% 0.125 311.9)

  • #472C00

    #472C00

    oklch(31.9% 0.068 73)

  • #003B3A

    #003B3A

    oklch(31.9% 0.055 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #47175F

    #47175F

    oklch(31.9% 0.125 311.9)

  • #591C00

    #591C00

    oklch(31.9% 0.097 41.6)

  • #213B00

    #213B00

    oklch(31.9% 0.088 131.6)

  • #003948

    #003948

    oklch(31.9% 0.059 221.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #47175F 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.