#4F254D
Closest named color: Grape Purple (#5D1451). oklch(33.9% 0.086 329.1), rgb(79, 37, 77).
Aa
White text reads best on this color (12.32:1).
About this color
#4F254D is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.086 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.043 away. White text reads best on it, at 12.32:1.
| Hue family | Purples |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.086) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.70:1 |
| White text | 12.32:1 |
Values
| HEX | #4F254D |
| RGB | rgb(79, 37, 77) |
| HSL | hsl(303, 36%, 23%) |
| OKLCH | oklch(33.9% 0.086 329.1) |
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 #4F254D | 12.32:1 | AAA | Lc -101.3 | Preferred for body text |
| Black text on #4F254D | 1.70:1 | Fails | Lc 0.0 | Not readable |
| #4F254D text on white | 12.32:1 | AAA | Lc 97.8 | Preferred for body text |
| #4F254D text on black | 1.70: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
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F1E6F0
oklch(93.6% 0.018 328.5)
-
Step 200
200
#E7D1E5
oklch(88.5% 0.036 328.7)
-
Step 300
300
#D9B2D5
oklch(80.9% 0.065 329.5)
-
Step 400
400
#C489C0
oklch(70.6% 0.103 328.9)
-
Step 500
500
#B46AB0
oklch(63% 0.131 328.9)
-
Step 600
600
#9F509C
oklch(55.5% 0.143 328.7)
-
Step 700
700
#884085
oklch(49% 0.133 329)
-
Step 800
800
#6F366C
oklch(42.8% 0.109 329.3)
-
Step 900
900 (this color)
#4F254D
oklch(33.9% 0.086 329.1)
-
Step 950
950
#351C33
oklch(27% 0.054 329.9)
#4F254D 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) | #22314E | 0.085 |
| Deuteranopia (no green cones) | #2E374C | 0.076 |
| Tritanopia (no blue cones) | #522935 | 0.048 |
| Achromatopsia (no color) | #353535 | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4F254D
#4F254D
oklch(33.9% 0.086 329.1)
- #0C431D
#0C431D
oklch(33.8% 0.085 149.2)
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 #4F254D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.043
- Plum Purple #4E0550 ΔE 0.060
- Deep Violet #490648 ΔE 0.062
- Eggplant Purple #430541 ΔE 0.073
- Space Cadet #2B2D42 ΔE 0.076
- Gunmetal #293241 ΔE 0.083
- Velvet #750851 ΔE 0.085
- Onyx #343A40 ΔE 0.085
Use #4F254D 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.