#502240
Closest named color: Grape Purple (#5D1451). oklch(32.9% 0.08 342.6), rgb(80, 34, 64).
Aa
White text reads best on this color (12.77:1).
About this color
#502240 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.080 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.050 away. White text reads best on it, at 12.77:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.080) |
| Temperature | warm |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.64:1 |
| White text | 12.77:1 |
Values
| HEX | #502240 |
| RGB | rgb(80, 34, 64) |
| HSL | hsl(321, 40%, 22%) |
| OKLCH | oklch(32.9% 0.08 342.6) |
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 #502240 | 12.77:1 | AAA | Lc -101.9 | Preferred for body text |
| Black text on #502240 | 1.64:1 | Fails | Lc 0.0 | Not readable |
| #502240 text on white | 12.77:1 | AAA | Lc 98.5 | Preferred for body text |
| #502240 text on black | 1.64: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.
-
Step 50
50
#FAF3F7
oklch(97.1% 0.009 341.8)
-
Step 100
100
#F3E5ED
oklch(93.5% 0.018 342)
-
Step 200
200
#EAD1DF
oklch(88.5% 0.033 343)
-
Step 300
300
#DDB2CB
oklch(80.9% 0.06 342.7)
-
Step 400
400
#CB88B1
oklch(70.7% 0.097 342.5)
-
Step 500
500
#BC699D
oklch(63.1% 0.124 343)
-
Step 600
600
#A74F88
oklch(55.6% 0.135 342.8)
-
Step 700
700
#8F4074
oklch(49.2% 0.125 342.5)
-
Step 800
800
#74355E
oklch(42.7% 0.103 342.6)
-
Step 900
900 (this color)
#502240
oklch(32.9% 0.08 342.6)
-
Step 950
950
#371C2D
oklch(27% 0.05 342.6)
#502240 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) | #252E41 | 0.085 |
| Deuteranopia (no green cones) | #32353F | 0.076 |
| Tritanopia (no blue cones) | #55222E | 0.034 |
| Achromatopsia (no color) | #323232 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #502240
#502240
oklch(32.9% 0.08 342.6)
- #00402A
#00402A
oklch(32.9% 0.071 162.7)
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 #502240, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.050
- Deep Violet #490648 ΔE 0.063
- Plum Purple #4E0550 ΔE 0.065
- Burgundy #610023 ΔE 0.067
- Eggplant Purple #430541 ΔE 0.070
- Space Cadet #2B2D42 ΔE 0.075
- Aubergine #3D0734 ΔE 0.078
- Merlot #730039 ΔE 0.080
Use #502240 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.