#731F7F
Closest named color: Purple (#800080). oklch(41.6% 0.165 322.4), rgb(115, 31, 127).
Aa
White text reads best on this color (9.41:1).
About this color
#731F7F is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.165 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.035 away. White text reads best on it, at 9.41:1.
| Hue family | Purples |
| Lightness | dark (42%) |
| Chroma | vivid (0.165) |
| Temperature | in between |
| Nearest name | Purple (#800080) |
| Black text | 2.23:1 |
| White text | 9.41:1 |
Values
| HEX | #731F7F |
| RGB | rgb(115, 31, 127) |
| HSL | hsl(293, 61%, 31%) |
| OKLCH | oklch(41.6% 0.165 322.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #731F7F | 9.41:1 | AAA | Lc -95.1 | Preferred for body text |
| Black text on #731F7F | 2.23:1 | Fails | Lc 13.2 | Not readable |
| #731F7F text on white | 9.41:1 | AAA | Lc 90.7 | Preferred for body text |
| #731F7F text on black | 2.23:1 | Fails | Lc -11.6 | 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 800.
-
Step 50
50
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F3E4F5
oklch(93.6% 0.028 322.2)
-
Step 200
200
#EBCEEE
oklch(88.5% 0.053 323.1)
-
Step 300
300
#DFACE5
oklch(80.9% 0.096 322.9)
-
Step 400
400
#CD7DD8
oklch(70.7% 0.154 322.6)
-
Step 500
500
#BF57CE
oklch(63.2% 0.197 322.5)
-
Step 600
600
#AA36BA
oklch(55.6% 0.213 322.6)
-
Step 700
700
#9226A1
oklch(49.2% 0.2 322.5)
-
Step 800
800 (this color)
#731F7F
oklch(41.6% 0.165 322.4)
-
Step 900
900
#602369
oklch(37.8% 0.129 322.3)
-
Step 950
950
#38163D
oklch(27% 0.081 322.4)
#731F7F 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #004082 | 0.168 |
| Deuteranopia (no green cones) | #2D497D | 0.144 |
| Tritanopia (no blue cones) | #74314D | 0.099 |
| Achromatopsia (no color) | #464646 | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #731F7F
#731F7F
oklch(41.6% 0.165 322.4)
- #025E00
#025E00
oklch(41.8% 0.142 142.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #731F7F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple #800080 ΔE 0.035
- Dark Magenta #8B008B ΔE 0.054
- Rebecca Purple #663399 ΔE 0.059
- Rich Purple #720058 ΔE 0.070
- Velvet #750851 ΔE 0.079
- Warm Purple #952E8F ΔE 0.081
- Grape Purple #5D1451 ΔE 0.090
- Light Eggplant #894585 ΔE 0.093
Use #731F7F 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.